Skip to content

Commit 3c54922

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

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
@@ -983,8 +983,8 @@ these are the C equivalent to :func:`reprlib.recursive_repr`.
983983
984984
Set the recursion limit for the current interpreter.
985985
986-
This function cannot fail, and the caller must hold an
987-
:term:`attached thread state`.
986+
This function cannot fail, and the caller must hold the
987+
:term:`GIL`.
988988
989989
.. seealso::
990990
:py:func:`sys.setrecursionlimit`

0 commit comments

Comments
 (0)