ID EN
Built-in Exceptions

RecursionError

Python 3.11

This exception is derived from RuntimeError. It is raised when the interpreter detects that the maximum recursion depth (see sys.getrecursionlimit()) is exceeded.

Syntax

PYTHON
exception RecursionError

See Also

RuntimeError sys.getrecursionlimit() RuntimeError