Issue 1172554: "cmp" should be "key" in sort doc (original) (raw)
Issue1172554
Created on 2005-03-29 14:22 by kbriggs, last changed 2022-04-11 14:56 by admin. 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) * ![]() |
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 |
| 2022-04-11 14:56:10 | admin | set | github: 41771 |
| 2005-03-29 14:22:33 | kbriggs | create |
