Multiple inheritance and a broken super() chain

Peter Slížik peter.slizik at gmail.com
Tue Jul 4 08:04:22 EDT 2023


>
> Also, you might find that because of the MRO, super() in your Bottom
> class would actually give you what you want.
>

I knew this, but I wanted to save myself some refactoring, as the legacy
code used different signatures for Left.__init__() and Right.__init__().

I realized the formatting of my code examples was completely removed; sorry
for that.

Best regards,
Peter


More information about the Python-list mailing list