Class Inheritance - What am I doing wrong?

Arnaud Delobelle arnodel at googlemail.com
Thu Apr 24 16:47:01 EDT 2008


Arnaud Delobelle <arnodel at googlemail.com> writes:

> That is, if you also pass the name parameter to super(A,self).__init__
> in B's __init__ method

Oops.  should be super(B, self).__init__(name), of course.

-- 
Arnaud



More information about the Python-list mailing list