错误代码门户
PythonPython错误代码

NotImplementedError

NotImplementedError

代码 NotImplementedError · Python 报告的问题。

该异常源自 RuntimeError。在用户定义的基类中,当抽象方法需要派生类重写该方法时,或者在开发该类以指示仍需要添加真正的实现时,应该引发此异常。

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

This exception is derived from RuntimeError. In user defined base classes, abstract methods should raise this exception when they require derived classes to override the method, or while the class is being developed to indicate that the real implementation still needs to be added.

故障排除与诊断链接

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