mirror of https://github.com/python/cpython
[3.13] gh-116322: Fix typo in the GH-ifdef check (GH-122268) (#122284)
gh-116322: Fix typo in the GH-ifdef check (GH-122268)
(cherry picked from commit 9bb2e4623f
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
d1af4f5372
commit
88a96fc391
|
@ -250,7 +250,7 @@ _PyModule_CreateInitialized(PyModuleDef* module, int module_api_version)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m->md_def = module;
|
m->md_def = module;
|
||||||
#ifdef Py_GIL_DISABLE
|
#ifdef Py_GIL_DISABLED
|
||||||
m->md_gil = Py_MOD_GIL_USED;
|
m->md_gil = Py_MOD_GIL_USED;
|
||||||
#endif
|
#endif
|
||||||
return (PyObject*)m;
|
return (PyObject*)m;
|
||||||
|
|
Loading…
Reference in New Issue