]> granicus.if.org Git - python/commitdiff
Fix typo
authorRaymond Hettinger <python@rcn.com>
Sun, 29 Apr 2012 16:25:25 +0000 (09:25 -0700)
committerRaymond Hettinger <python@rcn.com>
Sun, 29 Apr 2012 16:25:25 +0000 (09:25 -0700)
Doc/howto/sorting.rst

index 9aa39f7e02c2db8b036b232dbe0bfc849dee7d98..7afab9d73246cdec4f321cc98a69537a12a6af45 100644 (file)
@@ -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)