From: Raymond Hettinger Date: Sun, 29 Apr 2012 16:25:25 +0000 (-0700) Subject: Fix typo X-Git-Tag: v2.7.4rc1~865 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=524bc3993fc4edd17fdc0dc7a518d2b0b371b9ca;p=python Fix typo --- diff --git a/Doc/howto/sorting.rst b/Doc/howto/sorting.rst index 9aa39f7e02..7afab9d732 100644 --- a/Doc/howto/sorting.rst +++ b/Doc/howto/sorting.rst @@ -124,7 +124,7 @@ Ascending and Descending ======================== Both :meth:`list.sort` and :func:`sorted` accept a *reverse* parameter with a -boolean value. This is using to flag descending sorts. For example, to get the +boolean value. This is used to flag descending sorts. For example, to get the student data in reverse *age* order: >>> sorted(student_tuples, key=itemgetter(2), reverse=True)