File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,6 +213,13 @@ \section{Built-in Exceptions}
213213 not be found.
214214\end {excdesc }
215215
216+ \begin {excdesc }{NotImplementedError}
217+ \versionadded {1.5.2}
218+ This exception is derived from \exception {RuntimeError}. In user
219+ defined base classes, abstract methods should raise this exception
220+ when they require derived classes to override the method.
221+ \end {excdesc }
222+
216223\begin {excdesc }{OSError}
217224 \versionadded {1.5.2}
218225 % xref for os module
@@ -241,15 +248,6 @@ \section{Built-in Exceptions}
241248 more.)
242249\end {excdesc }
243250
244- \begin {excdesc }{NotImplementedError}
245- \versionadded {1.5.2}
246- This exception is derived from \exception {RuntimeError}. Its
247- purpose is to provide a standard exception to be used when modeling
248- abstract class methods. Abstract base class methods should raise
249- this exception when they expect derived classes to override the
250- method.
251- \end {excdesc }
252-
253251\begin {excdesc }{SyntaxError}
254252% XXXJH xref to these functions?
255253 Raised when the parser encounters a syntax error. This may occur in
You can’t perform that action at this time.
0 commit comments