We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60bb43f commit fd8a0dfCopy full SHA for fd8a0df
Modules/atexitmodule.c
@@ -15,11 +15,11 @@
15
#ifdef Py_GIL_DISABLED
16
/* Note: anything declared as static in this file assumes the lock is held
17
* (except for the Python-level functions) */
18
-#define _PyAtExit_LOCK(state) PyMutex_Lock(&state->lock);
19
-#define _PyAtExit_UNLOCK(state) PyMutex_Unlock(&state->lock);
+# define _PyAtExit_LOCK(state) PyMutex_Lock(&state->lock);
+# define _PyAtExit_UNLOCK(state) PyMutex_Unlock(&state->lock);
20
#else
21
-#define _PyAtExit_LOCK(state)
22
-#define _PyAtExit_UNLOCK(state)
+# define _PyAtExit_LOCK(state)
+# define _PyAtExit_UNLOCK(state)
23
#endif
24
25
/* ===================================================================== */
0 commit comments