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.
1 parent 3991681 commit 6d397ebCopy full SHA for 6d397eb
Doc/c-api/init.rst
@@ -1926,9 +1926,9 @@ pointer and a void pointer argument.
1926
This function doesn't need a current thread state to run, and it doesn't
1927
need the global interpreter lock.
1928
1929
- To call this function in a subinterpreter, the caller must hold the GIL.
1930
- Otherwise, the function *func* can be scheduled to be called from the wrong
1931
- interpreter.
+ To call this function in a subinterpreter, the caller must have an active
+ :term:`thread state`. Otherwise, the function *func* can be scheduled to
+ be called from the wrong interpreter.
1932
1933
.. warning::
1934
This is a low-level function, only useful for very special cases.
0 commit comments