super的这句话是什么意思 什么作用
class Student(Person): def __init__(self, name, gender, score): super(Student, self).__init__(name, gender) self.score = score
为什么有
super(Student, self).__init__(name, gender)
这句话
class Student(Person): def __init__(self, name, gender, score): super(Student, self).__init__(name, gender) self.score = score
为什么有
super(Student, self).__init__(name, gender)
这句话
2019-09-29
举报