Skip to content

Commit f74832a

Browse files
committed
Change term for PyState*
1 parent 6230177 commit f74832a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/module.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ since multiple such modules can be created from a single definition.
708708
mechanisms (either by calling it directly, or by referring to its
709709
implementation for details of the required state updates).
710710
711-
The caller must hold the GIL.
711+
The caller must have an active :term:`thread state`.
712712
713713
Return ``-1`` with an exception set on error, ``0`` on success.
714714
@@ -719,6 +719,6 @@ since multiple such modules can be created from a single definition.
719719
Removes the module object created from *def* from the interpreter state.
720720
Return ``-1`` with an exception set on error, ``0`` on success.
721721
722-
The caller must hold the GIL.
722+
The caller must have an active :term:`thread state`.
723723
724724
.. versionadded:: 3.3

0 commit comments

Comments
 (0)