python之多继承:
一个子类可以有多个父类

class father:
def demo(self):
pass
def test(self):
pass
class mother:
def demo(self):
pass
def test(self):
pass
class son(father,mother):
pass
View Code
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/279012.html