commit | 42b1ba31aff86af6257a0fca455d5569bce9d8fc | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Oct 16 03:41:09 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Oct 16 03:41:09 2003 +0000 |
tree | 0497ccd614d5ed8a4cfbb2bce4362f61faf0aeb1 | |
parent | 90f7d254a9ae20d6d783138eb8567f39e6ff7e04 [diff] |
* list.sort() now supports three keyword arguments: cmp, key, and reverse. key provides C support for the decorate-sort-undecorate pattern. reverse provide a stable sort of the list with the comparisions reversed. * Amended the docs to guarantee sort stability.