Skip to content

Commit ff3241a

Browse files
committed
Fix typos
1 parent 609f7fb commit ff3241a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Fix a race condition in :mod:`tracemalloc`: it no longer detachs the attached
1+
Fix a race condition in :mod:`tracemalloc`: it no longer detaches the attached
22
thread state to acquire its internal lock. Patch by Victor Stinner.

Python/tracemalloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ _PyTraceMalloc_Stop(void)
891891
TABLES_UNLOCK();
892892

893893
// Call it after TABLES_UNLOCK() since it calls _PyEval_StopTheWorldAll()
894-
// which would lead to a deadlock with TABLES_LOCK() which doesn't detaches
894+
// which would lead to a deadlock with TABLES_LOCK() which doesn't detach
895895
// the thread state.
896896
(void)PyRefTracer_SetTracer(NULL, NULL);
897897
}

0 commit comments

Comments
 (0)