摘要: #super()调用的顺序 根据实例对象所在类创建一个固定的MRO列表,来确定super()调用的类顺序: class Cat(object): def test(self): print("Cat") class BlueCat(Cat): def test(self): super().test 阅读全文
posted @ 2022-05-24 17:34 南唐周七呀 阅读(134) 评论(0) 推荐(0)