mirror of https://github.com/python/cpython
Moved NotImplementedError into alphabetical order, and reword
description.
This commit is contained in:
parent
1e151322fb
commit
6d26f4b188
|
@ -213,6 +213,13 @@ Raised when an \keyword{assert} statement fails.
|
||||||
not be found.
|
not be found.
|
||||||
\end{excdesc}
|
\end{excdesc}
|
||||||
|
|
||||||
|
\begin{excdesc}{NotImplementedError}
|
||||||
|
\versionadded{1.5.2}
|
||||||
|
This exception is derived from \exception{RuntimeError}. In user
|
||||||
|
defined base classes, abstract methods should raise this exception
|
||||||
|
when they require derived classes to override the method.
|
||||||
|
\end{excdesc}
|
||||||
|
|
||||||
\begin{excdesc}{OSError}
|
\begin{excdesc}{OSError}
|
||||||
\versionadded{1.5.2}
|
\versionadded{1.5.2}
|
||||||
%xref for os module
|
%xref for os module
|
||||||
|
@ -241,15 +248,6 @@ Raised when an \keyword{assert} statement fails.
|
||||||
more.)
|
more.)
|
||||||
\end{excdesc}
|
\end{excdesc}
|
||||||
|
|
||||||
\begin{excdesc}{NotImplementedError}
|
|
||||||
\versionadded{1.5.2}
|
|
||||||
This exception is derived from \exception{RuntimeError}. Its
|
|
||||||
purpose is to provide a standard exception to be used when modeling
|
|
||||||
abstract class methods. Abstract base class methods should raise
|
|
||||||
this exception when they expect derived classes to override the
|
|
||||||
method.
|
|
||||||
\end{excdesc}
|
|
||||||
|
|
||||||
\begin{excdesc}{SyntaxError}
|
\begin{excdesc}{SyntaxError}
|
||||||
% XXXJH xref to these functions?
|
% XXXJH xref to these functions?
|
||||||
Raised when the parser encounters a syntax error. This may occur in
|
Raised when the parser encounters a syntax error. This may occur in
|
||||||
|
|
Loading…
Reference in New Issue