mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Added documentation for NotImplementedError. Fred (I'm sure) will
sanitize for your protection :-)
This commit is contained in:
parent
3695b1212c
commit
1e151322fb
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue