Greg Ewing <[EMAIL PROTECTED]> wrote:

> Phillip J. Eby wrote:
> > Imagine what would happen if the results of
> > calling super() depended on what order your modules had been imported in!
>
> Actually, something like this does happen with super.

No, it doesn't.

The order of super-calls is always well-defined (and the only sane
one)!

> You can't be sure which method super() will call when
> you write it, because it depends on what other classes
> people inherit along with your class, and what order
> they're in.

This is true but doesn't matter (which is the beauty of super).

-- 
Christian Tanzer                                    http://www.c-tanzer.at/

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to