summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-12-01 19:48:04 (GMT)
committerBarry Warsaw <barry@python.org>1998-12-01 19:48:04 (GMT)
commit6d26f4b1883ea92ebe8060e9706223b74fcae317 (patch)
tree1b7e695e3d0c645d2a7d4670caaf0f88e9c91cb6 /Doc/lib
parent1e151322fbd0c3a25fb7e23af9a46e0dc09d6b78 (diff)
downloadcpython-6d26f4b1883ea92ebe8060e9706223b74fcae317.zip
cpython-6d26f4b1883ea92ebe8060e9706223b74fcae317.tar.gz
cpython-6d26f4b1883ea92ebe8060e9706223b74fcae317.tar.bz2
Moved NotImplementedError into alphabetical order, and reword
description.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libexcs.tex16
1 files changed, 7 insertions, 9 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex
index 10b2245..bf9ffae 100644
--- a/Doc/lib/libexcs.tex
+++ b/Doc/lib/libexcs.tex
@@ -213,6 +213,13 @@ Raised when an \keyword{assert} statement fails.
not be found.
\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}
\versionadded{1.5.2}
%xref for os module
@@ -241,15 +248,6 @@ Raised when an \keyword{assert} statement fails.
more.)
\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}
% XXXJH xref to these functions?
Raised when the parser encounters a syntax error. This may occur in