Skip to content

Commit 58f7763

Browse files
[3.12] gh-115145: Update documentation about PyThreadState_DeleteCurrent (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>
1 parent c13bb99 commit 58f7763

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy