**Missing call to superclass __init__ during object initialization**
Pythonunlike some other object-oriented languages such as Java, allows the
developer complete freedom in when and how superclass initializers are
called during object initialization. However, the developer has
responsibility for ensuring that objects are properly initialized, and
that all superclass `__init__` methods are called.
If the `__init__` method of a superclass is not called during object
initialization, this can lead to errors due to the object not being fully
initialized, such as having missing attributes. A call to the `__init__`
method of a superclass during object initialization may be unintentionally
skipped:
- If a subclass calls the `__init__` method of the wrong class.
- If a call to the `__init__` method of one its base classes is omitted.
- If a call to `super().__init__` is used, but not all `__init__` methods
in the Method Resolution Order (MRO) chain themselves call `super()`. This
in particular arises more often in cases of multiple inheritance.
explicit calls to __init__ are used, but SportsCar erroneously calls
Vehicle.__init__. This is fixed in FixedSportsCar by calling Car.__init__.