From: Skip Montanaro Date: Thu, 28 Mar 2002 20:53:22 +0000 (+0000) Subject: add exception class hierarchy. This should probably be done differently, X-Git-Tag: v2.3c1~6290 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb6bbc45c07c4d3182f58a0f9768c1902d0c7083;p=thirdparty%2FPython%2Fcpython.git add exception class hierarchy. This should probably be done differently, but at least the content is there. --- diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index f4b1d154eea5..c865eea58a6f 100644 --- a/Doc/lib/libexcs.tex +++ b/Doc/lib/libexcs.tex @@ -383,3 +383,47 @@ Base class for warnings about dubious syntax \begin{excdesc}{RuntimeWarning} Base class for warnings about dubious runtime behavior. \end{excdesc} + +The full Exception class hierarchy is: + +\begin{verbatim} + Exception + +-- SystemExit + +-- StopIteration + +-- StandardError + | +-- KeyboardInterrupt + | +-- ImportError + | +-- EnvironmentError + | | +-- IOError + | | +-- OSError + | | +-- WindowsError + | +-- EOFError + | +-- RuntimeError + | | +-- NotImplementedError + | +-- NameError + | | +-- UnboundLocalError + | +-- AttributeError + | +-- SyntaxError + | | +-- IndentationError + | | +-- TabError + | +-- TypeError + | +-- AssertionError + | +-- LookupError + | | +-- IndexError + | | +-- KeyError + | +-- ArithmeticError + | | +-- OverflowError + | | +-- ZeroDivisionError + | | +-- FloatingPointError + | +-- ValueError + | | +-- UnicodeError + | +-- ReferenceError + | +-- SystemError + | +-- MemoryError + +---Warning + +-- UserWarning + +-- DeprecationWarning + +-- SyntaxWarning + +-- OverflowWarning + +-- RuntimeWarning +\end{verbatim}