mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
[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 9eeb21bf76
)
Co-authored-by: Donghee Na <donghee.na@python.org>
This commit is contained in:
parent
e6fb7fa76b
commit
bde4ae10ba
1 changed files with 1 additions and 1 deletions
|
@ -1218,7 +1218,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
|
||||||
.. c:function:: void PyThreadState_DeleteCurrent(void)
|
.. c:function:: void PyThreadState_DeleteCurrent(void)
|
||||||
|
|
||||||
Destroy the current thread state and release the global interpreter lock.
|
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
|
be held. The thread state must have been reset with a previous call
|
||||||
to :c:func:`PyThreadState_Clear`.
|
to :c:func:`PyThreadState_Clear`.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue