[ python-Bugs-1172554 ] "cmp" should be "key" in sort doc
Bugs item #1172554, was opened at 2005-03-29 14:22 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1172554&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" -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1172554&group_id=5470 ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[ python-Bugs-1172554 ] "cmp" should be "key" in sort doc
Bugs item #1172554, was opened at 2005-03-29 09:22 Message generated for change (Comment added) made by rhettinger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1172554&group_id=5470 Category: Documentation Group: Python 2.4 >Status: Closed >Resolution: Out of Date 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: Raymond Hettinger (rhettinger) Date: 2005-03-29 10:35 Message: Logged In: YES user_id=80475 Thanks for the report. This was already fixed. You should see it in the new Py2.4.1. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1172554&group_id=5470 ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com