python父类调用子类了解一下
class B():
def __init__(self):
pass
def start(self):
print(self.parse())
class A(B):
def __init__(self):
B.__init__(self)
def parse(self):
return 123
if __name__ == '__main__':
a = A()
a.start()