[Tutor] Calling method in parent class

The Green Tea Leaf thegreentealeaf at gmail.com
Tue May 12 11:17:47 CEST 2009


I just want to know what is the best way to do this.

As for an example, I would say the __init__ method where the parent
class do some initialization, to be sure that everything is set up
correctly I would call the parents class __init__ method before doing
something else.


More information about the Tutor mailing list