Although it’s pretty nasty and I wouldn’t really recommend it, this is
one possibility:
class Child(Human):
def grow_up(self):
self.class = Parent
Although it’s pretty nasty and I wouldn’t really recommend it, this is
one possibility:
class Child(Human):
def grow_up(self):
self.class = Parent