擅长:python、mysql、java
<p>如文档所述<a href="https://docs.python.org/3/library/exceptions.html#NotImplementedError" rel="noreferrer"><sup>[docs]</sup></a></p>
<blockquote>
<p>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.</p>
</blockquote>
<p>注意,尽管这个错误的主要用例是应该在继承类上实现的抽象方法的指示,但是您可以随意使用它,比如指示<code>TODO</code>标记。</p>