An overridden method completely replaces the parent class' one:
class Msg:
def proc(self):
# this part is common to all methods
print("common part")
# I would like the override to start here
pass
class A(Msg):
def proc(self):
# this should be appended below pass above
print("overridden part")
A().proc()
Is it possible to partially replace the method, by keeping a "common" section and appending a specific one (per class)?