mirror of https://github.com/python/cpython
gh-116322: Fix typo in the #ifdef check (#122268)
This commit is contained in:
parent
3998554bb0
commit
9bb2e4623f
|
@ -251,7 +251,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