Inheritance problem?

Xavier Morel xavier.morel at masklinn.net
Fri Jan 6 08:09:37 EST 2006


Pierre Barbier de Reuille wrote:
> Well, I would even add : don't use super !
> Just call the superclass method :
> 
> MyClass.__init__(self)
> 
> 
> 
> Simon Percivall a écrit :
>> Don't use self.__class__, use the name of the class.
>>
Bad idea if you're using new-style classes with a complex inheritance 
hierarchy and multiple inheritance.



More information about the Python-list mailing list