Michele Simionato <[EMAIL PROTECTED]> writes:

> On Sep 19, 12:36 pm, Bruno Desthuilliers <bruno.
> [EMAIL PROTECTED]> wrote:
>
>> The next class in the MRO *is* a superclass of the *instance*. Else it
>> wouldn't be in the MRO !-)
>
> Bruno, there is no such a thing as a superclass in a multiple
> inheritance world, and it is a very bad idea to continue to use that
> terminology.

Your arguments against the superclass term seem to assume that there
is only a single superclass to a particular class.  In the example you
give in your essay, I would say that all of A, B, and T are
superclasses of C, and Python's super correctly iterates over all of
them.

Wikipedia defines superclass as a "class from which other classes are
derived", which seems perfectly valid for MI.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to