[issue5229] Documentation for super() neglects to say what super() actually does

Raymond Hettinger report at bugs.python.org
Thu Feb 26 00:16:22 CET 2009


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

> Perhaps add the following sentence to the end of 
> the first paragraph: "If *object-or-type* is a proxy
>  object, *super* returns a new proxy that additionally
> skips *type*."

I'm not really sure what that even means.  Nor do I think
it was one of the use cases that Guido had in mind or is
tested in the unittest suite.

Is this something that has to be covered in the super() docs?
It seems like an implementation side-effect.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5229>
_______________________________________


More information about the Python-bugs-list mailing list