summaryrefslogtreecommitdiffstats
path: root/Modules/_testexternalinspection.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/_testexternalinspection.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/_testexternalinspection.c')
-rw-r--r--Modules/_testexternalinspection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testexternalinspection.c b/Modules/_testexternalinspection.c
index d9c65fe..696c00c 100644
--- a/Modules/_testexternalinspection.c
+++ b/Modules/_testexternalinspection.c
@@ -631,7 +631,7 @@ PyInit__testexternalinspection(void)
return NULL;
}
#ifdef Py_GIL_DISABLED
- PyModule_ExperimentalSetGIL(mod, Py_MOD_GIL_NOT_USED);
+ PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED);
#endif
int rc = PyModule_AddIntConstant(mod, "PROCESS_VM_READV_SUPPORTED", HAVE_PROCESS_VM_READV);
if (rc < 0) {