调用父类方法

调用父类方法

class A:
     def add(self, x):
         y = x+1
         print(y)
class B(A):
    def add(self, x):
        super().add(x)
原文地址:https://www.cnblogs.com/lvchengda/p/12618200.html