This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:15Retrosetrecipients: + Retro, ezio.melotti, docs@python
2012-01-18 16:23:15Retrosetmessageid: <1326903795.6.0.0593092042228.issue13816@psf.upfronthosting.co.za>
2012-01-18 16:23:14Retrolinkissue13816 messages
2012-01-18 16:23:14Retrocreate