BaseException + - - SystemExit
+ - - KeyboardInterrupt
+ - - GeneratorExit
+ - - Exception
+ - - StopIteration
+ - - StandardError
| + - - BufferError
| + - - ArithmeticError
| | + - - FloatingPointError
| | + - - OverflowError
| | + - - ZeroDivisionError
| + - - AssertionError
| + - - AttributeError
| + - - EnvironmentError
| | + - - IOError
| | + - - OSError
| | + - - WindowsError (Windows)
| | + - - VMSError (VMS)
| + - - EOFError
| + - - ImportError
| + - - LookupError
| | + - - IndexError
| | + - - KeyError
| + - - MemoryError
| + - - NameError
| | + - - UnboundLocalError
| + - - ReferenceError
| + - - RuntimeError
| | + - - NotImplementedError
| + - - SyntaxError
| | + - - IndentationError
| | + - - TabError
| + - - SystemError
| + - - TypeError
| + - - ValueError
| + - - UnicodeError
| + - - UnicodeDecodeError
| + - - UnicodeEncodeError
| + - - UnicodeTranslateError
+ - - Warning
+ - - DeprecationWarning
+ - - PendingDeprecationWarning
+ - - RuntimeWarning
+ - - SyntaxWarning
+ - - UserWarning
+ - - FutureWarning
+ - - ImportWarning
+ - - UnicodeWarning
+ - - BytesWarning
|
==============================================================================
本文转自被遗忘的博客园博客,原文链接:http://www.cnblogs.com/rollenholt/archive/2011/11/25/2263724.html,如需转载请自行联系原作者