Skip to content

Commit

Permalink
gh-115145: Update documentation about PyThreadState_DeleteCurrent (
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 authored Oct 3, 2024
1 parent 656b7a3 commit 9eeb21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/c-api/init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
.. c:function:: void PyThreadState_DeleteCurrent(void)
Destroy the current thread state and release the global interpreter lock.
Like :c:func:`PyThreadState_Delete`, the global interpreter lock need not
Like :c:func:`PyThreadState_Delete`, the global interpreter lock must
be held. The thread state must have been reset with a previous call
to :c:func:`PyThreadState_Clear`.
Expand Down

0 comments on commit 9eeb21b

Please sign in to comment.