Does Python have Multiple Inheritance ?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Fri Nov 7 22:19:57 CET 2008

In message
<90d2b348-73b4-446d-9673-3de62927d146 at>,
Michele Simionato wrote:

> On Nov 7, 4:38 pm, Tim Golden <m... at> 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.
> The reason is that in Python using composition is very easy, so there
> is little need for MI
> (which is a Good Thing).

Not to mention duck typing, which does away with the need for inheritance

More information about the Python-list mailing list