summaryrefslogtreecommitdiffstats
path: root/Modules/_testbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_testbuffer.c')
-rw-r--r--Modules/_testbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testbuffer.c b/Modules/_testbuffer.c
index 35d4ffe..54ee468 100644
--- a/Modules/_testbuffer.c
+++ b/Modules/_testbuffer.c
@@ -2902,7 +2902,7 @@ PyInit__testbuffer(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
if (_testbuffer_exec(mod) < 0) {
Py_DECREF(mod);