diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-06-19 22:05:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 22:05:23 (GMT) |
commit | b45d259bdda1de2b2d369458a9ad2e4d6f750687 (patch) | |
tree | 7e4b308f1729b757ebead804cde061bb06832cab /Include/internal/pycore_pystate.h | |
parent | 35068bd059a3d9bff084ca9dcb04d51185b9ec3b (diff) | |
download | cpython-b45d259bdda1de2b2d369458a9ad2e4d6f750687.zip cpython-b45d259bdda1de2b2d369458a9ad2e4d6f750687.tar.gz cpython-b45d259bdda1de2b2d369458a9ad2e4d6f750687.tar.bz2 |
bpo-36710: Use tstate in pylifecycle.c (GH-14249)
In pylifecycle.c: pass tstate argument, rather than interp argument,
to functions.
Diffstat (limited to 'Include/internal/pycore_pystate.h')
-rw-r--r-- | Include/internal/pycore_pystate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pystate.h b/Include/internal/pycore_pystate.h index 3bfbc27..68a72d8 100644 --- a/Include/internal/pycore_pystate.h +++ b/Include/internal/pycore_pystate.h @@ -310,7 +310,7 @@ PyAPI_FUNC(PyThreadState *) _PyThreadState_Swap( PyAPI_FUNC(PyStatus) _PyInterpreterState_Enable(_PyRuntimeState *runtime); PyAPI_FUNC(void) _PyInterpreterState_DeleteExceptMain(_PyRuntimeState *runtime); -/* Used by PyImport_Cleanup() */ +/* Used by _PyImport_Cleanup() */ extern void _PyInterpreterState_ClearModules(PyInterpreterState *interp); PyAPI_FUNC(void) _PyGILState_Reinit(_PyRuntimeState *runtime); |