diff options
author | Donghee Na <donghee.na@python.org> | 2023-11-22 01:32:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 01:32:43 (GMT) |
commit | 4fa376b0059948d4b3d994166b0dc210a4c4f8ec (patch) | |
tree | 789d4f449ae9fb0d61e2c1cf4add77669be72b76 /Modules/_sysconfig.c | |
parent | 46500c42f09a8342efde48ad74327d5225158ff3 (diff) | |
download | cpython-4fa376b0059948d4b3d994166b0dc210a4c4f8ec.zip cpython-4fa376b0059948d4b3d994166b0dc210a4c4f8ec.tar.gz cpython-4fa376b0059948d4b3d994166b0dc210a4c4f8ec.tar.bz2 |
gh-111863: Rename term Py_NOGIL to Py_GIL_DISABLED in sysconfig (gh-112307)
Diffstat (limited to 'Modules/_sysconfig.c')
-rw-r--r-- | Modules/_sysconfig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_sysconfig.c b/Modules/_sysconfig.c index 2918913..c76b9e6 100644 --- a/Modules/_sysconfig.c +++ b/Modules/_sysconfig.c @@ -58,11 +58,11 @@ _sysconfig_config_vars_impl(PyObject *module) #endif #ifdef Py_GIL_DISABLED - PyObject *py_nogil = _PyLong_GetOne(); + PyObject *py_gil_disabled = _PyLong_GetOne(); #else - PyObject *py_nogil = _PyLong_GetZero(); + PyObject *py_gil_disabled = _PyLong_GetZero(); #endif - if (PyDict_SetItemString(config, "Py_GIL_DISABLED", py_nogil) < 0) { + if (PyDict_SetItemString(config, "Py_GIL_DISABLED", py_gil_disabled) < 0) { Py_DECREF(config); return NULL; } |