错误代码门户
PythonPython错误代码

RecursionError

RecursionError

代码 RecursionError · Python 报告的问题。

该异常源自 RuntimeError。当解释器检测到超出最大递归深度(请参阅 sys.getrecursionlimit())时,会引发该错误。

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

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

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。