[issue5229] Documentation for super() neglects to say what super() actually does
Raymond Hettinger
report at bugs.python.org
Wed Feb 25 21:09:25 CET 2009
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
FWIW, I did a further update to the super docs to clarify that parent
classes are search in single inheritance models and that both parent and
siblings are searched in multiple inheritance models. Made the concept
more concrete by relating pointing to the __mro__ attribute and by
comparing it to getattr() which also uses the __mro__.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5229>
_______________________________________
More information about the Python-bugs-list
mailing list