problem understanding behaviour of subclass python

后端 未结 0 499
忘掉有多难
忘掉有多难 2021-02-01 15:15

I have a class

#filename base.py
class Base:
    def __init__(self):
        pass

    def alwaysImport(self):
        raise Exception

Inherited

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