Skip to content

Commit 9bb2e46

Browse files
gh-116322: Fix typo in the #ifdef check (#122268)
1 parent 3998554 commit 9bb2e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/moduleobject.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ _PyModule_CreateInitialized(PyModuleDef* module, int module_api_version)
251251
}
252252
}
253253
m->md_def = module;
254-
#ifdef Py_GIL_DISABLE
254+
#ifdef Py_GIL_DISABLED
255255
m->md_gil = Py_MOD_GIL_USED;
256256
#endif
257257
return (PyObject*)m;

0 commit comments

Comments
 (0)