python的内置异常
2009-07-01 20:00
204 查看
转载自《python2.6.2 documentation 》:
The class hierarchy for built-in exceptions is:
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阅读更多
相关文章推荐
- 对Python中内置异常层次结构详解
- Python中内置异常层次结构
- python 内置错误和异常(笔记)
- python内置异常
- python----内置异常类层次结构
- Python内置异常类层次关系
- Python——异常(内置异常以及应用场景)
- python raise 异常
- Python基础中所出现的异常报错总结
- Openwrt下安装Python3.5运行出现异常:Fatal Python error: Py_Initialize: Unable to get the locale encoding
- python 异常
- Python-自定义异常
- Python内置字符串操作处理方法详解
- Python学习笔记(4)--异常处理
- python 字符串str各种内置方法
- python学习笔记8.1-异常处理
- Python 异常结构
- Python标准异常总结
- python 基于箱型图进行异常值分析
- python自学之异常