摘要: 不小心写了个递归函数,在循环了六百多次的时候就报出了这个错误::RuntimeError: maximum recursion depth exceeded 然后改了系统设置,如下 import sys # 导入sys模块 sys.setrecursionlimit(10000) # 将默认的递归深 阅读全文
posted @ 2020-12-16 14:24 猫着鱼 阅读(1606) 评论(0) 推荐(0) 编辑