I have came around this question during an interview:
class Parent(object): def A(self): print \"in A\" class Child(Parent): def A(self):
Call the method on the class explicitly.
Parent.A(C)