1.类名.__mro__ 可打印参看函数的所有父类 2.super()方法 class Master(object): def __init__(self): self.kongfu = '[古法煎饼果子配方]' def make_cake(self): print(f'运用{self.kongfu Read More
posted @ 2020-07-02 12:53 sewen Views(190) Comments(0) Diggs(0) Edit