super(子类名,self).父类方法() 或者直接 父类名(参数)
>>> class FooChild(FooParent): def bar(self, message): super(FooChild, self).__init__(message) # FooParent(message)
No comments :
Post a Comment