Pupeno wrote:
> 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 ?
Pupeno <[EMAIL PROTECTED]> wrote:
> be correct to do: super(A, super(B, self)).method() in C ?
Why do you want to use super? Is there any diamond shaped inheritance
in sight? Anyway, have you actually tried, what you suggested? Well, ...
--8<---
Pupeno wrote:
> 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(
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()