A simple explanation of super() in Python

Опубликовано: 18 Ноябрь 2024
на канале: Sebastiaan Mathôt
48,469
2.4k

(For more, visit https://pythontutorials.eu !) In this video, I explain the super() function for object-oriented programming (OOP) in Python. There is a lot of myth-building about what this function does, but it's surprisingly simple! In a nutshell, super() make complex multiple inheritance easier, but in most scenarios is identical to explicitly calling base-class functions.