[Tutor] Confirmation about __init__()

Robert webtourist at gmail.com
Sun Jan 17 07:10:32 CET 2010


I have read quite a bit in the past 2 months, ( I have also looked at codes)
At this point, I think I understand well what __init__() is and does -
But, I have yet to see this *specifically* spelled out about the the
__init__ method for a Class;

It is OPTIONAL, correct ?

if I have NO start values/variables to set, no Base Class __init__ to
call --- the __init__ method is NOT required, correct ?

thanks


More information about the Tutor mailing list