Skip to content

Commit 6d397eb

Browse files
committed
Change term for Py_AddPendingCall
1 parent 3991681 commit 6d397eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/c-api/init.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,9 +1926,9 @@ pointer and a void pointer argument.
19261926
This function doesn't need a current thread state to run, and it doesn't
19271927
need the global interpreter lock.
19281928
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.
1929+
To call this function in a subinterpreter, the caller must have an active
1930+
:term:`thread state`. Otherwise, the function *func* can be scheduled to
1931+
be called from the wrong interpreter.
19321932
19331933
.. warning::
19341934
This is a low-level function, only useful for very special cases.

0 commit comments

Comments
 (0)