We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PyThreadState_DeleteCurrent
1 parent e6fb7fa commit bde4ae1Copy full SHA for bde4ae1
Doc/c-api/init.rst
@@ -1218,7 +1218,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
1218
.. c:function:: void PyThreadState_DeleteCurrent(void)
1219
1220
Destroy the current thread state and release the global interpreter lock.
1221
- Like :c:func:`PyThreadState_Delete`, the global interpreter lock need not
+ Like :c:func:`PyThreadState_Delete`, the global interpreter lock must
1222
be held. The thread state must have been reset with a previous call
1223
to :c:func:`PyThreadState_Clear`.
1224
0 commit comments