https://github.com/python/cpython/commit/9bb2e4623f504c44655436eae181d802f544fff9
commit: 9bb2e4623f504c44655436eae181d802f544fff9
branch: main
author: Serhiy Storchaka <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2024-07-25T20:01:57+05:30
summary:

gh-116322: Fix typo in the #ifdef check (#122268)

files:
M Objects/moduleobject.c

diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c
index 73ad9711b6b0fc..efc74dafb5fc73 100644
--- a/Objects/moduleobject.c
+++ b/Objects/moduleobject.c
@@ -251,7 +251,7 @@ _PyModule_CreateInitialized(PyModuleDef* module, int 
module_api_version)
         }
     }
     m->md_def = module;
-#ifdef Py_GIL_DISABLE
+#ifdef Py_GIL_DISABLED
     m->md_gil = Py_MOD_GIL_USED;
 #endif
     return (PyObject*)m;

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to