[docs] [issue13816] Two typos in the docs

Boštjan Mejak report at bugs.python.org
Wed Jan 18 17:23:15 CET 2012


New submission from Boštjan Mejak <bostjan.mejak at gmail.com>:

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.

----------
assignee: docs at python
components: Documentation
messages: 151547
nosy: Retro, docs at python, ezio.melotti
priority: normal
severity: normal
status: open
title: Two typos in the docs
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13816>
_______________________________________


More information about the docs mailing list