Does Python have Multiple Inheritance ?
Michele Simionato
michele.simionato at gmail.com
Fri Nov 7 10:45:46 EST 2008
On Nov 7, 4:38 pm, Tim Golden <m... at timgolden.me.uk> wrote:
> Seriously, though, although Python does indeed support multiple inheritance,
> I have the impression from comments over the years that it's used a lot less
> than in other languages where it is more of a common idiom. Certainly in my
> own (not negligible) use of Python, I've very rarely used it for anything
> but the occasional mixin class.
>
> I'll leave others to comment on whether this is indeed so and why
> it might be :)
The reason is that in Python using composition is very easy, so there
is little need for MI
(which is a Good Thing).
More information about the Python-list
mailing list