[ python-Bugs-1172581 ] "cmp" should be "key" in sort doc

SourceForge.net noreply at sourceforge.net
Wed Mar 30 20:03:15 CEST 2005


Bugs item #1172581, was opened at 2005-03-29 10:02
Message generated for change (Comment added) made by tjreedy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1172581&group_id=5470

Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Keith Briggs (kbriggs)
Assigned to: Nobody/Anonymous (nobody)
Summary: "cmp" should be "key" in sort doc

Initial Comment:
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" 

----------------------------------------------------------------------

Comment By: Terry J. Reedy (tjreedy)
Date: 2005-03-30 13:03

Message:
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.

----------------------------------------------------------------------

Comment By: Terry J. Reedy (tjreedy)
Date: 2005-03-30 12:41

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1172581&group_id=5470


More information about the Python-bugs-list mailing list