Jumping over in the class hierarchy

Laszlo Nagy gandalf at designaproduct.biz
Tue Aug 1 12:24:49 EDT 2006


Pupeno írta:
> Hello,
> I want to jump over a method in the class hierarchy, that is:  If I have
> class A(object), clas B(A), class C(B) and in C, I want a method to do
> exactly what A does but not what B does in its reimplementation, would it
> be correct to do: super(A, super(B, self)).method() in C ?
> Thank you.
>   
A.method(self)

Cheers,

   Laszlo




More information about the Python-list mailing list