1

Python has the ability to make multiple inheritance, I recently learned about a technique to use mixins. My question is, how do mixins differ from standard multiple inheritance in Python? I am used to mixins in Scala and Ruby, where they are quite distinct from multiple inheritance (although still related).

To clarify, I am specifically asking about if there's any mechanical difference, or if this is just style/duck typing.

Snark
  • 1,664
  • 14
  • 27

0 Answers0