> 
> > class Derived(BaseClass):
> >         def __init__(self, *args, **kargs):
> >                 BaseClass.__init__(self, *args, **kargs)
> >
> > - *args, **kargs passes a tuple and a dictionary to the BaseClass 
> > constructor.
> >
> > My assumption is the BaseClass will always have a constructor that will
> > be receiving the tuple and a dictionary. Am I right?
> 
> not quite.  you're on the right track though. a couple of thoughts.


Thank you Wesley for the examples and the explaination.
And thanks Jeff for your explaination. It helped me clarify my doubts. :-)
Really helpful.

-- 
O.R.Senthil Kumaran
http://uthcode.sarovar.org
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to