Bugs item #1117063, was opened at 2005-02-06 00:48 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=1117063&group_id=5470
Category: Documentation Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Viktor Ferenczi (complex) Assigned to: Nobody/Anonymous (nobody) Summary: Typo in list.sort() documentation Initial Comment: There is a (8) note in the documentation of list methods. (8) describes optional arguments of the sort() method. The example is wrong for the key argument: key specifies a function of one argument that is used to extract a comparison key from each list element: "cmp=str.lower" Is 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=1117063&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com