Skip to content

Commit

Permalink
gh-116322: Fix typo in the #ifdef check (#122268)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka authored Jul 25, 2024
1 parent 3998554 commit 9bb2e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/moduleobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9bb2e46

Please sign in to comment.