Jeroen Demeyer <j.deme...@ugent.be> added the comment:

> What more do you want?

Mainly: it says "a parent or sibling class of *type*" but it doesn't explain 
which class it actually uses.

And the sentence "The __mro__ attribute of the type lists the method resolution 
search order used by both getattr() and super()" is even wrong or at least 
confusing: what matters is not the MRO of the type (the first argument to 
super()) but the MRO of the object (the second argument to super()).

The zero-argument form super() is not explained at all.

> Perhaps there ought to be a "gentle guide to super" somewhere, and the docs 
> could link to that?

There are plenty of guides like that and in fact that docs already link to 
https://rhettinger.wordpress.com/2011/05/26/super-considered-super/

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37176>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to