Message151547
| Author |
Retro |
| Recipients |
Retro, docs@python, ezio.melotti |
| Date |
2012年01月18日.16:23:14 |
| SpamBayes Score |
2.465728e-05 |
| Marked as misclassified |
No |
| Message-id |
<1326903795.6.0.0593092042228.issue13816@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
There's a typo in the docs for cmp_to_key() function. Fix the first sentence "Transform an old-style comparison function to a key-function." to "Transform an old-style comparison function to a key function." (delete the hyphen between words "key" and "function")
http://docs.python.org/library/functools.html#functools.cmp_to_key
------------------------------------------------------------------
There's another typo in the docs lurking in http://docs.python.org/library/stdtypes.html#sequence-types-str-unicode-list-tuple-bytearray-buffer-xrange
Look for the table with the columns "Operation", "Result", "Notes" (scroll down and you'll find it), and fix the text of the fifth cell under the "Result" column like this:
"i'th item of s, origin 0" --> "i-th item of s, origin 0".
Change that apostrophe into a hyphen, so "i'th" to "i-th". Thanks, Ezio. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年01月18日 16:23:15 | Retro | set | recipients:
+ Retro, ezio.melotti, docs@python |
| 2012年01月18日 16:23:15 | Retro | set | messageid: <1326903795.6.0.0593092042228.issue13816@psf.upfronthosting.co.za> |
| 2012年01月18日 16:23:14 | Retro | link | issue13816 messages |
| 2012年01月18日 16:23:14 | Retro | create |
|