This commit is contained in:
Benjamin Peterson 2010-08-17 17:52:02 +00:00
parent 42382fedcc
commit 7ac98ae3b3
1 changed files with 2 additions and 2 deletions

View File

@ -1026,8 +1026,8 @@ are always available. They are listed here in alphabetical order.
*reverse* is a boolean value. If set to ``True``, then the list elements are *reverse* is a boolean value. If set to ``True``, then the list elements are
sorted as if each comparison were reversed. sorted as if each comparison were reversed.
Use :func:`functools.cmp_to_key` to convert an Use :func:`functools.cmp_to_key` to convert an old-style *cmp* function to a
old-style *cmp* function to a *key* function. *key* function.
For sorting examples and a brief sorting tutorial, see `Sorting HowTo For sorting examples and a brief sorting tutorial, see `Sorting HowTo
<http://wiki.python.org/moin/HowTo/Sorting/>`_\. <http://wiki.python.org/moin/HowTo/Sorting/>`_\.