mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
gh-116322: Rename PyModule_ExperimentalSetGIL to PyUnstable_Module_SetGIL (GH-118645)
This commit is contained in:
parent
3ed3bc379a
commit
417dd3aca7
19 changed files with 21 additions and 21 deletions
|
|
@ -901,7 +901,7 @@ PyInit__test_module_state_shared(void)
|
|||
return NULL;
|
||||
}
|
||||
#ifdef Py_GIL_DISABLED
|
||||
PyModule_ExperimentalSetGIL(module, Py_MOD_GIL_NOT_USED);
|
||||
PyUnstable_Module_SetGIL(module, Py_MOD_GIL_NOT_USED);
|
||||
#endif
|
||||
|
||||
if (PyModule_AddObjectRef(module, "Error", PyExc_Exception) < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue