Source Code:
(back to article)
class Parent1: def method(self): print("Parent1 Methode") class Parent2: def method(self): print("Parent2 Methode") class Child(Parent1, Parent2): def method(self): super(Parent1, self).method() super(Parent2, self).method() c = Child() c.method()
Result:
Report an issue