summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-07-25 14:31:57 (GMT)
committerGitHub <noreply@github.com>2024-07-25 14:31:57 (GMT)
commit9bb2e4623f504c44655436eae181d802f544fff9 (patch)
tree2b42262a1f394f2df570e981e5feda98b581921e
parent3998554bb05f5ce18e8a66492d23d094a2299442 (diff)
downloadcpython-9bb2e4623f504c44655436eae181d802f544fff9.zip
cpython-9bb2e4623f504c44655436eae181d802f544fff9.tar.gz
cpython-9bb2e4623f504c44655436eae181d802f544fff9.tar.bz2
gh-116322: Fix typo in the #ifdef check (#122268)
-rw-r--r--Objects/moduleobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c
index 73ad971..efc74da 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;