Brett Cannon | bf36409 | 2006-03-01 04:25:17 +0000 | [diff] [blame] | 1 | BaseException |
| 2 | +-- SystemExit |
| 3 | +-- KeyboardInterrupt |
| 4 | +-- Exception |
| 5 | +-- GeneratorExit |
| 6 | +-- StopIteration |
| 7 | +-- StandardError |
| 8 | | +-- ArithmeticError |
| 9 | | | +-- FloatingPointError |
| 10 | | | +-- OverflowError |
| 11 | | | +-- ZeroDivisionError |
| 12 | | +-- AssertionError |
| 13 | | +-- AttributeError |
| 14 | | +-- EnvironmentError |
| 15 | | | +-- IOError |
| 16 | | | +-- OSError |
| 17 | | | +-- WindowsError (Windows) |
| 18 | | +-- EOFError |
| 19 | | +-- ImportError |
| 20 | | +-- LookupError |
| 21 | | | +-- IndexError |
| 22 | | | +-- KeyError |
| 23 | | +-- MemoryError |
| 24 | | +-- NameError |
| 25 | | | +-- UnboundLocalError |
| 26 | | +-- ReferenceError |
| 27 | | +-- RuntimeError |
| 28 | | | +-- NotImplementedError |
| 29 | | +-- SyntaxError |
| 30 | | | +-- IndentationError |
| 31 | | | +-- TabError |
| 32 | | +-- SystemError |
| 33 | | +-- TypeError |
| 34 | | +-- ValueError |
| 35 | | | +-- UnicodeError |
| 36 | | | +-- UnicodeDecodeError |
| 37 | | | +-- UnicodeEncodeError |
| 38 | | | +-- UnicodeTranslateError |
| 39 | +-- Warning |
| 40 | +-- DeprecationWarning |
| 41 | +-- PendingDeprecationWarning |
| 42 | +-- RuntimeWarning |
| 43 | +-- SyntaxWarning |
| 44 | +-- UserWarning |
| 45 | +-- FutureWarning |
| 46 | +-- OverflowWarning [not generated by the interpreter] |