Why have a super().__init__ in a custom exception

前端 未结 0 1879
孤街浪徒
孤街浪徒 2021-02-18 23:23

I have seen quite a few examples where a custom exception is defined in these two ways:

class E1(Exception):
    pass

clas         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题