]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-116322: Fix typo in the #ifdef check (#122268)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 25 Jul 2024 14:31:57 +0000 (17:31 +0300)
committerGitHub <noreply@github.com>
Thu, 25 Jul 2024 14:31:57 +0000 (20:01 +0530)
Objects/moduleobject.c

index 73ad9711b6b0fc11bb25a0f074137e373c132bae..efc74dafb5fc731bd34c8ee080a8945f45b7a968 100644 (file)
@@ -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;