[Tutor] What is super for?
adam.jtm30 at gmail.com
Mon Jun 28 18:18:11 CEST 2010
On 28 June 2010 17:15, Adam Bark <adam.jtm30 at gmail.com> wrote:
> I can't figure out how super(C, self).__init__() is any better than
> C.__init__(self), is there a preference? Does super do something special?
Whoops I should really think about these things for a minute first, you
don't have to know the superclass in advance is presumably the idea?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor