summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-10 22:49:16 (GMT)
committerGitHub <noreply@github.com>2020-03-10 22:49:16 (GMT)
commit4e53abb0f4773e1cce68a4f41ddbb43e74364c5f (patch)
tree355a5073945fa5045a4b1354f9468c589d6d9158 /Include/internal
parent88f82b2b9ea3514359cb6e3218121f75334063ac (diff)
downloadcpython-4e53abb0f4773e1cce68a4f41ddbb43e74364c5f.zip
cpython-4e53abb0f4773e1cce68a4f41ddbb43e74364c5f.tar.gz
cpython-4e53abb0f4773e1cce68a4f41ddbb43e74364c5f.tar.bz2
bpo-38631: _PyGILState_Init() returns PyStatus (GH-18908)
_PyGILState_Init() now returns PyStatus rather than calling Py_FatalError() on failure.
Diffstat (limited to 'Include/internal')
-rw-r--r--Include/internal/pycore_pylifecycle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h
index 2dd6149..cf22803 100644
--- a/Include/internal/pycore_pylifecycle.h
+++ b/Include/internal/pycore_pylifecycle.h
@@ -83,7 +83,7 @@ extern void _PyHash_Fini(void);
extern void _PyTraceMalloc_Fini(void);
extern void _PyWarnings_Fini(PyInterpreterState *interp);
-extern void _PyGILState_Init(PyThreadState *tstate);
+extern PyStatus _PyGILState_Init(PyThreadState *tstate);
extern void _PyGILState_Fini(PyThreadState *tstate);
PyAPI_FUNC(void) _PyGC_DumpShutdownStats(PyThreadState *tstate);