So, i have a situation like this.
class A(object): def foo(self, call_from): print \"foo from A, call from %s\" % call_from class B(object):
You can use __bases__ like this
__bases__
class D(A, B, C): def foo(self): print("foo from D") for cls in D.__bases__: cls().foo("D")
With this change, the output will be
foo from D foo from A, call from D foo from B, call from D foo from C, call from D