Skip to content

Commit bd7eaa6

Browse files
Update Doc/c-api/exceptions.rst
1 parent 3c54922 commit bd7eaa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/exceptions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,8 +973,8 @@ these are the C equivalent to :func:`reprlib.recursive_repr`.
973973
:c:func:`Py_SetRecursionLimit`. The recursion limit prevents the
974974
Python interpreter stack from growing infinitely.
975975
976-
This function cannot fail, and the caller must hold an
977-
:term:`attached thread state`.
976+
This function cannot fail, and the caller must hold the
977+
:term:`GIL`.
978978
979979
.. seealso::
980980
:py:func:`sys.getrecursionlimit`

0 commit comments

Comments
 (0)