summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapimodule.c
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2024-05-06 16:59:36 (GMT)
committerGitHub <noreply@github.com>2024-05-06 16:59:36 (GMT)
commit417dd3aca7bb910691d34e54fee108d7bbc627d3 (patch)
treebf7abb2482714929fc26276e231911862f687d1f /Modules/_testcapimodule.c
parent3ed3bc379a0c4ce7a107dd4bc276554fbb477998 (diff)
downloadcpython-417dd3aca7bb910691d34e54fee108d7bbc627d3.zip
cpython-417dd3aca7bb910691d34e54fee108d7bbc627d3.tar.gz
cpython-417dd3aca7bb910691d34e54fee108d7bbc627d3.tar.bz2
gh-116322: Rename PyModule_ExperimentalSetGIL to PyUnstable_Module_SetGIL (GH-118645)
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r--Modules/_testcapimodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index e7e342e..ff31724 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -3936,7 +3936,7 @@ PyInit__testcapi(void)
if (m == NULL)
return NULL;
#ifdef Py_GIL_DISABLED
- PyModule_ExperimentalSetGIL(m, Py_MOD_GIL_NOT_USED);
+ PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED);
#endif
Py_SET_TYPE(&_HashInheritanceTester_Type, &PyType_Type);