What does super do?
Object-oriented programming
Audio flashcard · 0:16Nortren·
What does super do?
0:16
The super function returns a proxy object that delegates method calls to a parent or sibling class. It is most commonly used inside dunder init and other overridden methods to call the parent implementation. With multiple inheritance, super follows the MRO, which is essential for cooperative classes.
docs.python.org