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.

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

Created on 2005-03-29 15:02 by kbriggs, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg24816 - (view) Author: Keith Briggs (kbriggs) Date: 2005-03-29 15:02
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" 
msg24817 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2005-03-30 17:41
Logged In: YES 
user_id=593130

This has been fixed in the 2.4.1 doc released today
http://docs.python.org/lib/typesseq-mutable.html

(The old url with  /doc/current added no longer works for me).

Please close as 'fixed' if you can.
msg24818 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2005-03-30 18:03
Logged In: YES 
user_id=593130

Ignore previous comment about 'old url'.  Did not 
notice 'www.python' versus 'doc.python'.  It seems 
that 'www.python.org/doc/current' and 'docs.python.org' are 
aliased prefixes leading to the 'current' docs.
History
Date User Action Args
2022-04-11 14:56:10adminsetgithub: 41772
2005-03-29 15:02:42kbriggscreate