A simple explanation of super() in Python

Опубликовано: 05 Май 2020
на канале: Sebastiaan Mathôt
49,612
2.5k

(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.


Смотрите видео A simple explanation of super() in Python онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Sebastiaan Mathôt 05 Май 2020. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 49,612 раз и оно понравилось 2.5 тысяч посетителям.