From f2060f1bb10184982807a4039d769bdf2e87a2c1 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 25 Jul 2024 17:31:57 +0300 Subject: [PATCH] gh-116322: Fix typo in the GH-ifdef check (GH-122268) (cherry picked from commit 9bb2e4623f504c44655436eae181d802f544fff9) Co-authored-by: Serhiy Storchaka --- Objects/moduleobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c index 46995b948a28e7..92554de055c4e5 100644 --- a/Objects/moduleobject.c +++ b/Objects/moduleobject.c @@ -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;