Skip to content

Commit

Permalink
[3.12] gh-115145: Update documentation about ``PyThreadState_DeleteCu…
Browse files Browse the repository at this point in the history
…rrent`` (gh-124920) (gh-124931)

gh-115145: Update documentation about ``PyThreadState_DeleteCurrent`` (gh-124920)
(cherry picked from commit 9eeb21b)

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

Please sign in to comment.