수퍼 클래스 초기화 함수를 호출 할 때 다음과 같은 중요한 차이점이 있다면 무엇이 있을까요? (당신이 오타를 수정하고 슈퍼에 대한 호출에 Child_1을 만들어 주겠다고하지만)수퍼 클래스의 생성자를 호출하는 이러한 방법의 차이점은 무엇입니까?
class Child_1(Parent):
def __init__(self):
super(Child, self).__init__()
class Child_2(Parent):
def __init__(self):
super(Parent, self).__init__()
class Child_3(Parent):
def __init__(self):
Parent.__init__(self)
이들은 메타 클래스가 아닙니다. – jamylak
그건 상속이 다루는 것이 아닙니다. –
나는 무엇을 질문해야합니까? –