From 524bc3993fc4edd17fdc0dc7a518d2b0b371b9ca Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 29 Apr 2012 09:25:25 -0700 Subject: [PATCH] Fix typo --- Doc/howto/sorting.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.1