__init__() not called automatically

Sriek scharan20 at gmail.com
Thu May 26 01:05:21 EDT 2005


Tim pointed out  rightly that i missed out the most crucial part of my
question.
i should have said that __init__() is not called automatically only for
the inheritance hierarchy. we must explicitly call all the base class
__init__() fuctions explicitly.
 i wanted a reason for that.
Thanks Tim.




More information about the Python-list mailing list