super(SubClass, self).__init__(...)
Consider using *args and **kw if it helps solving your variable nightmare.
More Related Contents:
- How to invoke the super constructor in Python?
- Chain-calling parent initialisers in python [duplicate]
- Simple python inheritance
- How to call Base Class’s __init__ method from the child class? [duplicate]
- Calling superclass constructors in python with different arguments
- Inheritance and init method in Python
- What is a clean “pythonic” way to implement multiple constructors?
- How do I call a parent class’s method from a child class in Python?
- How to “perfectly” override a dict?
- How can I dynamically create derived classes from a base class
- Cast base class to derived class python (or more pythonic way of extending classes)
- Subclassing int in Python
- inheritance from str or int
- Python super() raises TypeError
- TypeError: Cannot create a consistent method resolution order (MRO) [duplicate]
- Should all Python classes extend object? [duplicate]
- Which classes cannot be subclassed?
- List all base classes in a hierarchy of given class?
- Is there a way to instantiate a class without calling __init__?
- Python Method overriding, does signature matter?
- Python inheritance – how to disable a function
- Subclassing dict: should dict.__init__() be called?
- difference between variables inside and outside of __init__() (class and instance attributes)
- __init__ as a constructor?
- Overriding append method after inheriting from a Python List
- Force child class to override parent’s methods
- The inheritance of attributes using __init__
- How to remove a field from the parent Form in a subclass?
- Accessing attribute from parent class inside child class
- Python: Inheritance versus Composition