summaryrefslogtreecommitdiffstats
path: root/Python/_warnings.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/_warnings.c')
-rw-r--r--Python/_warnings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c
index 2ba704d..793cbc6 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -1498,6 +1498,7 @@ warnings_module_exec(PyObject *module)
static PyModuleDef_Slot warnings_slots[] = {
{Py_mod_exec, warnings_module_exec},
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
+ {Py_mod_gil, Py_MOD_GIL_NOT_USED},
{0, NULL}
};