So the situation I want to resolve is pretty simple. Say I have a subclass C
that extends parents B
and A
. Parents B
, and A
each have their own __repr__
methods. When I print C
, the __repr__
method of parent A
is always invoked, but I want to invoke parent B
's.
How can I do this?