A simple explanation of super() in Python

Опубликовано: 05 Май 2020
на канале: 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.


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