0

Why init is not required in inherited class?

29th Aug 2016, 12:49 PM
anand chhetri
anand chhetri - avatar
3 Antworten
+ 1
it's done once in the superclass, so any classes that inherits from it, will have init by default.
30th Aug 2016, 12:25 AM
Alireza M
Alireza M - avatar
0
__init__ is used to create instances when you use class as functions, so no need for son classes.
7th Sep 2016, 1:12 PM
杨正龙
杨正龙 - avatar
0
if it is is added to the subclass it would override the __init__ method and have its own
22nd Sep 2016, 2:53 PM
David Queen