Message132435
| Author |
ncoghlan |
| Recipients |
alex, docs@python, ncoghlan |
| Date |
2011年03月28日.22:27:46 |
| SpamBayes Score |
0.00012663817 |
| Marked as misclassified |
No |
| Message-id |
<1301351268.63.0.969295707351.issue11704@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
True, this could be documented better - flagging as a docs bug. (It is mentioned at the bottom of http://docs.python.org/library/functools.html#partial-objects, but that could be referenced better from the main documentation of the function higher up in the page)
There's actually more to it than just an oversight though - partial() fills in positional arguments from the left, so using one as a method would require specification of a carefully crafted selection of positional and keyword arguments to ensure the instance was bound and passed in at the right point. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年03月28日 22:27:48 | ncoghlan | set | recipients:
+ ncoghlan, alex, docs@python |
| 2011年03月28日 22:27:48 | ncoghlan | set | messageid: <1301351268.63.0.969295707351.issue11704@psf.upfronthosting.co.za> |
| 2011年03月28日 22:27:46 | ncoghlan | link | issue11704 messages |
| 2011年03月28日 22:27:46 | ncoghlan | create |
|