Skip to content

Commit 61ab0c3

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

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
@@ -1025,7 +1025,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
10251025
10261026
.. c:function:: void PyThreadState_DeleteCurrent()
10271027
1028-
Destroy the current thread state and releases the global interpreter. The global
1028+
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
10301030
interpreter lock need not be held. The thread state must have been reset with a previous
10311031
call to :c:func:`PyThreadState_Clear`.

0 commit comments

Comments
 (0)