diff options
| author | Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> | 2019-10-04 08:35:42 -0300 |
|---|---|---|
| committer | Victor Stinner <vstinner@python.org> | 2019-10-04 13:35:42 +0200 |
| commit | 8855e47d09d4db1206c65b24efc8ad0df585ac46 (patch) | |
| tree | 7bad8536eb0439d6c6edfed703b7165cb367ca0b /Include/cpython | |
| parent | 06cb94bc8419b9a24df6b0d724fcd8e40c6971d6 (diff) | |
| download | cpython-git-8855e47d09d4db1206c65b24efc8ad0df585ac46.tar.gz | |
bpo-38266: Revert bpo-37878: Make PyThreadState_DeleteCurrent() Internal (GH-16558)
Revert the removal of PyThreadState_DeleteCurrent() with documentation.
Diffstat (limited to 'Include/cpython')
| -rw-r--r-- | Include/cpython/pystate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h index f872351780..6c8d2ae041 100644 --- a/Include/cpython/pystate.h +++ b/Include/cpython/pystate.h @@ -183,6 +183,7 @@ PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Head(void); PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Next(PyInterpreterState *); PyAPI_FUNC(PyThreadState *) PyInterpreterState_ThreadHead(PyInterpreterState *); PyAPI_FUNC(PyThreadState *) PyThreadState_Next(PyThreadState *); +PyAPI_FUNC(void) PyThreadState_DeleteCurrent(void); typedef struct _frame *(*PyThreadFrameGetter)(PyThreadState *self_); |
