Is inheritance broken?

Neil Schemenauer nas at python.ca
Wed Mar 28 12:58:19 EST 2001


Jonathan Claggett wrote:
> It looks like the inherited angle method from rectangle is being ignored.
> Isn't this wrong? Or am I just missing something.

No, its not wrong.  You don't understand multiple inheritance in
Python.  I believe there is a section in the tutorial explaining
it.  A small clue is that it works depth-first, left to right.

   Neil




More information about the Python-list mailing list