Does Python have Multiple Inheritance ?
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sun Nov 16 01:45:44 EST 2008
In message <%lIRk.67026$vX2.47488 at bignews6.bellsouth.net>, Larry Bates
wrote:
> Lawrence D'Oliveiro wrote:
>
>> In message <mailman.3675.1226101014.3487.python-list at python.org>, Steve
>> Holden wrote:
>>
>>> Lawrence D'Oliveiro wrote:
>>>
>>>> Not to mention duck typing, which does away with the need for
>>>> inheritance altogether.
>>>
>>> That seems a somewhat extreme point of view.
>>
>> Hey, I didn't design the language, I just use it. :)
>
> I'm with Steve. Multiple inheritance is still a "good" thing, especially
> for mixin-classes. wxPython, for instance, wouldn't be nearly so flexible
> without it.
Sure. But Python doesn't _force_ you to do things that way.
More information about the Python-list
mailing list