Message298365
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. |
|
Date |
User |
Action |
Args |
2017-07-14 17:53:05 | Malcolm Smith | set | recipients:
+ Malcolm Smith, rhettinger, r.david.murray, docs@python, martin.panter, Tapani Kiiskinen, cheryl.sabella |
2017-07-14 17:53:05 | Malcolm Smith | set | messageid: <1500054785.5.0.118273225768.issue23674@psf.upfronthosting.co.za> |
2017-07-14 17:53:05 | Malcolm Smith | link | issue23674 messages |
2017-07-14 17:53:05 | Malcolm Smith | create | |
|