We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PyThreadState_DeleteCurrent
1 parent c13bb99 commit 58f7763Copy full SHA for 58f7763
Doc/c-api/init.rst
@@ -1269,7 +1269,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
1269
.. c:function:: void PyThreadState_DeleteCurrent(void)
1270
1271
Destroy the current thread state and release the global interpreter lock.
1272
- Like :c:func:`PyThreadState_Delete`, the global interpreter lock need not
+ Like :c:func:`PyThreadState_Delete`, the global interpreter lock must
1273
be held. The thread state must have been reset with a previous call
1274
to :c:func:`PyThreadState_Clear`.
1275
0 commit comments