Message255797
| Author |
martin.panter |
| Recipients |
Juchen Zeng, docs@python, martin.panter |
| Date |
2015年12月03日.00:15:37 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1449101737.29.0.99379430675.issue25777@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Agreed. The same problem is also present in the Python 3 documentation. (Beware there is another report somewhere about updating this how-to more generally for Python 3.)
Maybe we could be more explicit and start off "The attribute lookup super(B, obj).m searches . . ."
Also, I find the last sentence confusing: "If not in the dictionary, m reverts to a search using object.__getattribute__()." I guess it is describing how super(B, obj).__self__ accesses the internal attribute of the super object itself. Maybe it should say "If not in any base class, the lookup resorts to attributes of the super instance itself using object.__getattribute__()." |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年12月03日 00:15:37 | martin.panter | set | recipients:
+ martin.panter, docs@python, Juchen Zeng |
| 2015年12月03日 00:15:37 | martin.panter | set | messageid: <1449101737.29.0.99379430675.issue25777@psf.upfronthosting.co.za> |
| 2015年12月03日 00:15:37 | martin.panter | link | issue25777 messages |
| 2015年12月03日 00:15:37 | martin.panter | create |
|