#多重继承 class Father(object): def test1(self): print('123') class Mother(object): def test2(self): print('456') class Son(Father,Mother): pass son = Son() son.test1() son.test2()
#多重继承 class Father(object): def test1(self): print('123') class Mother(object): def test2(self): print('456') class Son(Father,Mother): pass son = Son() son.test1() son.test2()