classification
Title: "cmp" should be "key" in sort doc
Type: Stage:
Components: Documentation Versions: Python 2.4
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: kbriggs, rhettinger
Priority: normal Keywords:

Created on 2005-03-29 14:22 by kbriggs, last changed 2005-03-29 15:35 by rhettinger. This issue is now closed.

Messages (2)
msg24814 - (view) Author: Keith Briggs (kbriggs) Date: 2005-03-29 14:22
http://www.python.org/doc/current/lib/typesseq-
mutable.html:

> key specifies a function of one argument that is used 
to extract a comparison key from each list 
element: "cmp=str.lower" 

I think should be 

key specifies a function of one argument that is used to 
extract a comparison key from each list 
element: "key=str.lower" 
msg24815 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2005-03-29 15:35
Logged In: YES 
user_id=80475

Thanks for the report.
This was already fixed.
You should see it in the new Py2.4.1.
History
Date User Action Args
2005-03-29 14:22:33kbriggscreate