New submission from Boštjan Mejak <bostjan.me...@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@python
components: Documentation
messages: 151547
nosy: Retro, docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13816>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to