summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>2019-09-05 16:06:49 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-09-05 16:06:49 (GMT)
commit2bc43cdc015eda4f1a651bb2b308a17a83c38e14 (patch)
tree1a3a998656035eedb1e30c033f7fc3bb3156cdd9 /Include/internal
parent2c2b561967c1916855399f809e30ae0ba7e09ae2 (diff)
downloadcpython-2bc43cdc015eda4f1a651bb2b308a17a83c38e14.zip
cpython-2bc43cdc015eda4f1a651bb2b308a17a83c38e14.tar.gz
cpython-2bc43cdc015eda4f1a651bb2b308a17a83c38e14.tar.bz2
bpo-37878: Remove PyThreadState_DeleteCurrent() function (GH-15315)
* Rename PyThreadState_DeleteCurrent() to _PyThreadState_DeleteCurrent() * Move it to the internal C API Co-Authored-By: Carol Willing <carolcode@willingconsulting.com>
Diffstat (limited to 'Include/internal')
-rw-r--r--Include/internal/pycore_pylifecycle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h
index 7ea4488..cf844cc 100644
--- a/Include/internal/pycore_pylifecycle.h
+++ b/Include/internal/pycore_pylifecycle.h
@@ -110,6 +110,8 @@ PyAPI_FUNC(void) _PyErr_Print(PyThreadState *tstate);
PyAPI_FUNC(void) _PyErr_Display(PyObject *file, PyObject *exception,
PyObject *value, PyObject *tb);
+PyAPI_FUNC(void) _PyThreadState_DeleteCurrent(_PyRuntimeState *runtime);
+
#ifdef __cplusplus
}
#endif