8000 gh-115145: Update documentation about ``PyThreadState_DeleteCurrent``… · python/cpython@9eeb21b · GitHub
[go: up one dir, main page]

Skip to content

Commit 9eeb21b

Browse files
authored
gh-115145: Update documentation about PyThreadState_DeleteCurrent (gh-124920)
1 parent 656b7a3 commit 9eeb21b

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
@@ -1265,7 +1265,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
12651265
.. c:function:: void PyThreadState_DeleteCurrent(void)
12661266
12671267
Destroy the current thread state and release the global interpreter lock.
1268-
Like :c:func:`PyThreadState_Delete`, the global interpreter lock need not
1268+
Like :c:func:`PyThreadState_Delete`, the global interpreter lock must
12691269
be held. The thread state must have been reset with a previous call
12701270
to :c:func:`PyThreadState_Clear`.
12711271

0 commit comments

Comments
 (0)
0