summaryrefslogtreecommitdiffstats
path: root/Modules/_testclinic.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/_testclinic.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/_testclinic.c')
-rw-r--r--Modules/_testclinic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testclinic.c b/Modules/_testclinic.c
index c7af552..4187e13 100644
--- a/Modules/_testclinic.c
+++ b/Modules/_testclinic.c
@@ -1956,7 +1956,7 @@ PyInit__testclinic(void)
return NULL;
}
#ifdef Py_GIL_DISABLED
- PyModule_ExperimentalSetGIL(m, Py_MOD_GIL_NOT_USED);
+ PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED);
#endif
if (PyModule_AddType(m, &TestClass) < 0) {
goto error;