summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-12-01 19:19:21 (GMT)
committerBarry Warsaw <barry@python.org>1998-12-01 19:19:21 (GMT)
commit1e151322fbd0c3a25fb7e23af9a46e0dc09d6b78 (patch)
treed621146f6f19678b80c71143b8d63c45681c8d69
parent3695b1212cd51b4a4067448f894e820dc2536ba8 (diff)
downloadcpython-1e151322fbd0c3a25fb7e23af9a46e0dc09d6b78.zip
cpython-1e151322fbd0c3a25fb7e23af9a46e0dc09d6b78.tar.gz
cpython-1e151322fbd0c3a25fb7e23af9a46e0dc09d6b78.tar.bz2
Added documentation for NotImplementedError. Fred (I'm sure) will
sanitize for your protection :-)
-rw-r--r--Doc/lib/libexcs.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex
index ff5ef22..10b2245 100644
--- a/Doc/lib/libexcs.tex
+++ b/Doc/lib/libexcs.tex
@@ -241,6 +241,15 @@ 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