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 steven.daprano
Recipients docs@python, jdemeyer, rhettinger, steven.daprano
Date 2019-06-07.12:24:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20190607122440.GM4221@ando.pearwood.info>
In-reply-to <1559901645.61.0.0290471616991.issue37176@roundup.psfhosted.org>
Content
> If you have to explain in a bpo issue how the doc should be read, that 
> proves exactly my point that it's confusing. The fact that it's 
> technically correct if you read it the right way is irrelevant.

Do you expect the docs to be technically correct when read wrongly? How 
else should people read the docs, except the right way?

If you have *concrete* suggestions for improvements, of course we will 
consider them. I'll start with two concrete improvements:

1. Explicitly document that the zero-argument version is equivalent
to super(__class__, <first argument (usually self)>), and note that 
__class__ here is a special variable populated by the compiler.

The first part of this is already documented in super.__doc__ and the 
second part used to be documented:

https://docs.python.org/3.1/library/functions.html?#super

and I don't think there's any harm in adding it back in.

2. Link to the essay on how the MRO is calculated.

https://www.python.org/download/releases/2.3/mro/
History
Date User Action Args
2019-06-07 12:24:49steven.dapranosetrecipients: + steven.daprano, rhettinger, docs@python, jdemeyer
2019-06-07 12:24:49steven.dapranolinkissue37176 messages
2019-06-07 12:24:49steven.dapranocreate