Advanced Python #6 | Super method for Class _init_ and Method Resolution Order (MRO)
In this tutorial, we'll learn why to use super method instead of class-name based initialization specifically to avoid the following cases-
1. In case of changes in _init_ method of parent class the subclass _init_ needs to change
2. As a new class is added you need to add a new CLASS_NAME.__init__() for that
The code used in this tutorial is available here-
https://github.com/makeesyai/makeesy-...
#python #advanced #super #inheritance
Nesta página do site você pode assistir ao vídeo on-line Advanced Python #6 | Super method for Class __init__ and Method Resolution Order (MRO) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Makeesy AI 24 Março 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 343 vezes e gostou 8 espectadores. Boa visualização!