summaryrefslogtreecommitdiffstats
path: root/Modules/_testexternalinspection.c
diff options
context:
space:
mode:
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) {