Skip to content

Commit bde4ae1

Browse files
[3.13] gh-115145: Update documentation about PyThreadState_DeleteCurrent (gh-124920) (#124930)
gh-115145: Update documentation about ``PyThreadState_DeleteCurrent`` (gh-124920) (cherry picked from commit 9eeb21b) Co-authored-by: Donghee Na <[email protected]>
1 parent e6fb7fa commit bde4ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/init.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
12181218
.. c:function:: void PyThreadState_DeleteCurrent(void)
12191219
12201220
Destroy the current thread state and release the global interpreter lock.
1221-
Like :c:func:`PyThreadState_Delete`, the global interpreter lock need not
1221+
Like :c:func:`PyThreadState_Delete`, the global interpreter lock must
12221222
be held. The thread state must have been reset with a previous call
12231223
to :c:func:`PyThreadState_Clear`.
12241224

0 commit comments

Comments
 (0)