This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stutzbach
Recipients georg.brandl, stutzbach
Date 2009-02-12.19:24:03
SpamBayes Score 2.1966249e-05
Marked as misclassified No
Message-id <1234466645.34.0.103434314376.issue5229@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for super() describes the arguments that can be passed
to super(), use cases for super(), an example, and caveats about what
cannot be done with the returned object.  However, the documentation
neglects to mention what super() actually *does*, except for the
circular definition in the first line: "Return a super object that acts
as a proxy to superclasses of type."

Worse still, the definition in the first line is incorrect, since it may
proxy any type in the type hierarchy (not necessarily a superclass).

I found this webpage helpful for understanding what super() actually
does: http://fuhm.net/super-harmful/

I would submit a suggested improvement to the documentation, but I do
not really understand what super() does when the second argument is
omitted or a class.
History
Date User Action Args
2009-02-12 19:24:05stutzbachsetrecipients: + stutzbach, georg.brandl
2009-02-12 19:24:05stutzbachsetmessageid: <1234466645.34.0.103434314376.issue5229@psf.upfronthosting.co.za>
2009-02-12 19:24:04stutzbachlinkissue5229 messages
2009-02-12 19:24:03stutzbachcreate