摘要: 一 主动执行其他类的成员 1 class Base(object): 2 def f1(self): 3 print('5个功能') 4 class Foo(Base): 5 def f1(self): 6 print('3个功能') 7 Base.f1(self) 8 obj=Foo() 9 ob 阅读全文
posted @ 2018-08-31 16:59 茉莉花M 阅读(194) 评论(0) 推荐(0)