摘要: python类的继承原理 一、类的继承顺序 class A(object): def test(self): print('from A') passclass B(A): # def test(self): # print('from B') passclass C(A): # def test( 阅读全文
posted @ 2017-07-05 22:43 牛斌 阅读(207) 评论(0) 推荐(0) 编辑