Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libexcs.tex @ 22628:84684fc02da0 legacy-trunk
add exception class hierarchy. This should probably be done differently,
but at least the content is there.
| author | Skip Montanaro <skip@pobox.com> |
|---|---|
| date | Thu, 28 Mar 2002 20:53:22 +0000 |
| parents | bc02c3b09626 |
| children | f8c659848ad6 |
line wrap: on
line diff
--- a/Doc/lib/libexcs.tex Thu Mar 28 20:34:59 2002 +0000 +++ b/Doc/lib/libexcs.tex Thu Mar 28 20:53:22 2002 +0000 @@ -383,3 +383,47 @@ \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}
