We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ab0c3 commit 5034af8Copy full SHA for 5034af8
Doc/c-api/init.rst
@@ -1027,7 +1027,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
1027
1028
Destroy the current thread state and release the global interpreter lock.
1029
interpreter lock need not be held. Like :c:func:`PyThreadState_Delete`, the global
1030
- interpreter lock need not be held. The thread state must have been reset with a previous
+ interpreter lock need not be held. When using :c:func:`PyThreadState_DeleteCurrent`, the thread state must have been reset with a previous
1031
call to :c:func:`PyThreadState_Clear`.
1032
1033
.. c:function:: PY_INT64_T PyInterpreterState_GetID(PyInterpreterState *interp)
0 commit comments