From: Barry Warsaw Date: Tue, 1 Dec 1998 19:19:21 +0000 (+0000) Subject: Added documentation for NotImplementedError. Fred (I'm sure) will X-Git-Tag: v1.5.2b1~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e151322fbd0c3a25fb7e23af9a46e0dc09d6b78;p=python Added documentation for NotImplementedError. Fred (I'm sure) will sanitize for your protection :-) --- diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index ff5ef2259d..10b2245457 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