class A(object): def foo(self): return 'A.foo called' class B(object): pass class C(B,A): pass print C().foo() $ python werneck.py A.foo called