Skip to content

Commit fd8a0df

Browse files
Update Modules/atexitmodule.c
Co-authored-by: Victor Stinner <[email protected]>
1 parent 60bb43f commit fd8a0df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Modules/atexitmodule.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
#ifdef Py_GIL_DISABLED
1616
/* Note: anything declared as static in this file assumes the lock is held
1717
* (except for the Python-level functions) */
18-
#define _PyAtExit_LOCK(state) PyMutex_Lock(&state->lock);
19-
#define _PyAtExit_UNLOCK(state) PyMutex_Unlock(&state->lock);
18+
# define _PyAtExit_LOCK(state) PyMutex_Lock(&state->lock);
19+
# define _PyAtExit_UNLOCK(state) PyMutex_Unlock(&state->lock);
2020
#else
21-
#define _PyAtExit_LOCK(state)
22-
#define _PyAtExit_UNLOCK(state)
21+
# define _PyAtExit_LOCK(state)
22+
# define _PyAtExit_UNLOCK(state)
2323
#endif
2424

2525
/* ===================================================================== */

0 commit comments

Comments
 (0)