4
¿Cómo inicializo la clase base (super)?
En Python, considere que tengo el siguiente código: >>> class SuperClass(object): def __init__(self, x): self.x = x >>> class SubClass(SuperClass): def __init__(self, y): self.y = y # how do I initialize the SuperClass __init__ here? ¿Cómo inicializo el SuperClass __init__en la subclase? Estoy siguiendo el tutorial de Python y no …