Skip to content

Commit 73466bf

Browse files
Update Python/pystate.c
Co-authored-by: Erlend E. Aasland <[email protected]>
1 parent dbf7c58 commit 73466bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/pystate.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@ _PyRuntimeState_ReInitThreads(_PyRuntimeState *runtime)
508508
}
509509
#ifdef Py_GIL_DISABLED
510510
for (PyInterpreterState *interp = runtime->interpreters.head;
511-
interp != NULL; interp = interp->next) {
511+
interp != NULL; interp = interp->next)
512+
{
512513
for (int i = 0; i < NUM_WEAKREF_LIST_LOCKS; i++) {
513514
_PyMutex_at_fork_reinit(&interp->weakref_locks[i]);
514515
}

0 commit comments

Comments
 (0)