Author Malcolm Smith
Recipients Malcolm Smith, Tapani Kiiskinen, csabella, docs@python, martin.panter, r.david.murray, rhettinger
Date 2017-07-14.17:53:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500054785.5.0.118273225768.issue23674@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-07-14 17:53:05Malcolm Smithsetrecipients: + Malcolm Smith, rhettinger, r.david.murray, docs@python, martin.panter, Tapani Kiiskinen, csabella
2017-07-14 17:53:05Malcolm Smithsetmessageid: <1500054785.5.0.118273225768.issue23674@psf.upfronthosting.co.za>
2017-07-14 17:53:05Malcolm Smithlinkissue23674 messages
2017-07-14 17:53:05Malcolm Smithcreate