[Python-checkins] cpython (2.7): Fix typo
raymond.hettinger
python-checkins at python.org
Sun Apr 29 18:25:44 CEST 2012
http://hg.python.org/cpython/rev/5bad73fbf593
changeset: 76630:5bad73fbf593
branch: 2.7
parent: 76624:b26471a2a115
user: Raymond Hettinger <python at rcn.com>
date: Sun Apr 29 09:25:25 2012 -0700
summary:
Fix typo
files:
Doc/howto/sorting.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/howto/sorting.rst b/Doc/howto/sorting.rst
--- a/Doc/howto/sorting.rst
+++ b/Doc/howto/sorting.rst
@@ -124,7 +124,7 @@
========================
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list