Skip to content

Commit 5034af8

Browse files
Update Doc/c-api/init.rst
Co-Authored-By: Carol Willing <[email protected]>
1 parent 61ab0c3 commit 5034af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
10271027
10281028
Destroy the current thread state and release the global interpreter lock.
10291029
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
1030+
interpreter lock need not be held. When using :c:func:`PyThreadState_DeleteCurrent`, the thread state must have been reset with a previous
10311031
call to :c:func:`PyThreadState_Clear`.
10321032
10331033
.. c:function:: PY_INT64_T PyInterpreterState_GetID(PyInterpreterState *interp)

0 commit comments

Comments
 (0)