Skip to content

Commit

Permalink
pythongh-115145: Update documentation about ``PyThreadState_DeleteCur…
Browse files Browse the repository at this point in the history
…rent`` (pythongh-124920)

(cherry picked from commit 9eeb21b)

Co-authored-by: Donghee Na <donghee.na@python.org>
  • Loading branch information
corona10 authored and miss-islington committed Oct 3, 2024
1 parent e6fb7fa commit 1c87b38
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 @@ -1218,7 +1218,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 1c87b38

Please sign in to comment.