0
Why init is not required in inherited class?
3 Réponses
+ 1
it's done once in the superclass, so any classes that inherits from it, will have init by default.
0
__init__ is used to create instances when you use class as functions, so no need for son classes.
0
if it is is added to the subclass it would override the __init__ method and have its own