class C1:
def m(self):
return 'parent'
class C2(C1):
def m(self):
return super().m() + ' child'
pass
o = C2()
print(o.m())
Y2xhc3MgQzE6CiAgICBkZWYgbShzZWxmKToKICAgICAgICByZXR1cm4gJ3BhcmVudCcKY2xhc3MgQzIoQzEpOgogICAgZGVmIG0oc2VsZik6CiAgICAgICAgcmV0dXJuIHN1cGVyKCkubSgpICsgJyBjaGlsZCcKICAgIHBhc3MKbyA9IEMyKCkKcHJpbnQoby5tKCkpCg==