There was an error while loading. Please reload this page.
1 parent 0acd368 commit 60dc145Copy full SHA for 60dc145
1 file changed
Doc/c-api/exceptions.rst
@@ -1034,7 +1034,7 @@ because the :ref:`call protocol <call>` takes care of recursion handling.
1034
case, a :exc:`RecursionError` is set and a nonzero value is returned.
1035
Otherwise, zero is returned.
1036
1037
- The limit is based on how much C stack the current thread has consumed,
+ The check is based on the remaining C stack space of the current thread,
1038
not on a count of calls, so it is unaffected by
1039
:c:func:`Py_SetRecursionLimit` and :func:`sys.setrecursionlimit`.
1040
0 commit comments