We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PyThreadState_DeleteCurrent
1 parent 656b7a3 commit 9eeb21bCopy full SHA for 9eeb21b
Doc/c-api/init.rst
@@ -1265,7 +1265,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
1265
.. c:function:: void PyThreadState_DeleteCurrent(void)
1266
1267
Destroy the current thread state and release the global interpreter lock.
1268
- Like :c:func:`PyThreadState_Delete`, the global interpreter lock need not
+ Like :c:func:`PyThreadState_Delete`, the global interpreter lock must
1269
be held. The thread state must have been reset with a previous call
1270
to :c:func:`PyThreadState_Clear`.
1271
0 commit comments