• [TimLinux] Python3.6 异常继承关系


    Python3.6 异常继承结构

    object
    └── BaseException
        ├── Exception
        │   ├── ArithmeticError
        │   │   ├── FloatingPointError
        │   │   ├── OverflowError
        │   │   └── ZeroDivisionError
        │   ├── AssertionError
        │   ├── AttributeError
        │   ├── BufferError
        │   ├── EnvironmentError -> OSError
        │   ├── EOFError
        │   ├── ImportError
        │   │   └── ModuleNotFoundError
        │   ├── IOError -> OSError
        │   ├── LookupError
        │   │   ├── IndexError
        │   │   └── KeyError
        │   ├── MemoryError
        │   ├── NameError
        │   │   └── UnboundLocalError
        │   ├── OSError
        │   │   ├── BlockingIOError
        │   │   ├── ChildProcessError
        │   │   ├── ConnectionError
        │   │   │   ├── BrokenPipeError
        │   │   │   ├── ConnectionAbortedError
        │   │   │   ├── ConnectionRefusedError
        │   │   │   └── ConnectionResetError
        │   │   ├── FileExistsError
        │   │   ├── FileNotFoundError
        │   │   ├── InterruptedError
        │   │   ├── IsDirectoryError
        │   │   ├── NotADirectoryError
        │   │   ├── PermissionError
        │   │   ├── ProcessLookupError
        │   │   └── TimeoutError
        │   ├── ReferenceError
        │   ├── RuntimeError
        │   │   ├── NotImplementedError
        │   │   └── RecursionError
        │   ├── StopAsyncIteration
        │   ├── StopIteration
        │   ├── SyntaxError
        │   │   └── IndentationError
        │   │       └── TabError
        │   ├── SystemError
        │   ├── TypeError
        │   ├── ValueError
        │   │   └── UnicodeError
        │   │       ├── UnicodeDecodeError
        │   │       ├── UnicodeEncodeError
        │   │       └── UnicodeTranslateError
        │   └── Warning
        │       ├── BytesWarning
        │       ├── DeprecationWarning
        │       ├── FutureWarning
        │       ├── ImportWarning
        │       ├── PendingDeprecationWarning
        │       ├── ResourceWarning
        │       ├── RuntimeWarning
        │       ├── SyntaxWarning
        │       ├── UnicodeWarning
        │       └── UserWarning
        ├── GeneratorExit
        ├── KeyboardInterrupt
        └── SystemExit
  • 相关阅读:
    Eclipse详细设置护眼背景色和字体颜色并导出
    详解equals()方法和hashCode()方法
    MFC+WinPcap编写一个嗅探器之七(协议)
    fastjson使用
    2017-04-07 开通博客
    开启mysql慢查询
    MYSQL介绍安装及一些问题解决
    python基础入门
    Linux重启与关机命令
    Scanner类与Random类
  • 原文地址:https://www.cnblogs.com/timlinux/p/11801288.html
Copyright © 2020-2023  润新知