class Base: def method(self): """D""" class MyClass(Base): def method(self): pass