Super is not a function but a class that it allows you to override base class methods.

Python super. How does it work?

Super allows you to call methods from base classes that are overridden in subclasses. But how does it work? And what does it look like? In this video you see an inheritance example and inspect super. You learn that super is not a function but a class that it allows you to override base class methods.

Written by Loek van den Ouweland on 2023-02-10.
Questions regarding this artice? You can send them to the address below.