Skip to content

Commit 60dc145

Browse files
BHUVANSH855aisk
andauthored
Update Doc/c-api/exceptions.rst
Co-authored-by: An Long <aisk@users.noreply.github.com>
1 parent 0acd368 commit 60dc145

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Doc/c-api/exceptions.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ because the :ref:`call protocol <call>` takes care of recursion handling.
10341034
case, a :exc:`RecursionError` is set and a nonzero value is returned.
10351035
Otherwise, zero is returned.
10361036
1037-
The limit is based on how much C stack the current thread has consumed,
1037+
The check is based on the remaining C stack space of the current thread,
10381038
not on a count of calls, so it is unaffected by
10391039
:c:func:`Py_SetRecursionLimit` and :func:`sys.setrecursionlimit`.
10401040

0 commit comments

Comments
 (0)