资讯

I've recently come across a use of multiple inheritance in some python code that shows me why this is multiple inheritance is a bad thing. It seems to break the OOP concept of encapsulation.
I basically want to do multiple inheritance with mixins. I'll explain what I want to do in Python, since that's what I know best (pretend that only cars have electric starters, and motorcycles can ...