Jumping over in the class hierarchy

Pupeno pupeno at pupeno.com
Tue Aug 1 11:34:29 EDT 2006


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.
-- 
Pupeno <pupeno at pupeno.com> (http://pupeno.com)



More information about the Python-list mailing list