Malcolm Smith added the comment:

I agree that the first two paragraphs are confusing. It's clearly not true to 
say "The search order is same as that used by getattr() except that the type 
itself is skipped", because as noted above, everything *earlier* than the type 
in the MRO is also skipped. The second paragraph then goes on to imply that 
super() uses the MRO of its first argument, which contradicts the first 
paragraph, and apparently isn't true either.

Raymond explained the actual behavior quite clearly in his comment of 
2015-03-15 21:34, and that's what the documentation should do as well.

----------
nosy: +Malcolm Smith

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

Reply via email to