class B(FooBase):

    def foo(self):
        super(B, self).foo()
print('B.foo()')


class C(A, B):

    def foo(self):
        super(C, self).foo()
python multiple inheritance from different paths with same method name