# Pastebin i5PSMAG0 class A: def method(self, v): del v rest_of_program() class B(A): def method(self, v): extra_behaviour() return super().method(v)