the correct way to do will be as following in the old-style classes which doesn't inherit from 'object'
class A: def foo(self): return "Hi there"
class B(A): def foo(self, name): return A.foo(self) + name
class A: def foo(self): return "Hi there" class B(A): def foo(self, name): return A.foo(self) + name