https://github.com/python/cpython/commit/bde4ae10ba4dc3e82f824c3639947c0eed50cdf3
commit: bde4ae10ba4dc3e82f824c3639947c0eed50cdf3
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: Yhg1s <[email protected]>
date: 2024-10-03T08:54:56-07:00
summary:

[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 9eeb21bf761070649bf8d78976a62dabb6d67a99)

Co-authored-by: Donghee Na <[email protected]>

files:
M Doc/c-api/init.rst

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 1fab3f577f2f89..fd97d1d6ec3a0b 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -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`.
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to