mirror of https://github.com/python/cpython
gh-115145: Update documentation about ``PyThreadState_DeleteCurrent`` (gh-124920)
This commit is contained in:
parent
656b7a3c83
commit
9eeb21bf76
|
@ -1265,7 +1265,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`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue