xif
public python v1 · immutableclass A(object): def foo(self): print 'A.foo called'class B(object): def foo(self): print 'B.foo called' super(B, self).foo()class C(B,A): def foo(self): print 'C.foo called' super(C, self).foo()C().foo()$ python werneck.py C.foo calledB.foo calledA.foo called