]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-116322: Fix typo in the GH-ifdef check (GH-122268) (#122284)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 25 Jul 2024 14:58:34 +0000 (16:58 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Jul 2024 14:58:34 +0000 (14:58 +0000)
gh-116322: Fix typo in the GH-ifdef check (GH-122268)
(cherry picked from commit 9bb2e4623f504c44655436eae181d802f544fff9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Objects/moduleobject.c

index 46995b948a28e71428ed1a66ed69b02ae0ec4eb0..92554de055c4e5c603d4e2404e6131c5ff26619e 100644 (file)
@@ -250,7 +250,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;