[Python-checkins] r67761 - python/trunk/Doc/howto/functional.rst
benjamin.peterson
python-checkins at python.org
Sun Dec 14 18:26:04 CET 2008
Author: benjamin.peterson
Date: Sun Dec 14 18:26:04 2008
New Revision: 67761
Log:
fix missing bracket
Modified:
python/trunk/Doc/howto/functional.rst
Modified: python/trunk/Doc/howto/functional.rst
==============================================================================
--- python/trunk/Doc/howto/functional.rst (original)
+++ python/trunk/Doc/howto/functional.rst Sun Dec 14 18:26:04 2008
@@ -728,7 +728,7 @@
if line.strip() == '':
print 'Blank line at line #%i' % i
-``sorted(iterable, [cmp=None], [key=None], [reverse=False)`` collects all the
+``sorted(iterable, [cmp=None], [key=None], [reverse=False])`` collects all the
elements of the iterable into a list, sorts the list, and returns the sorted
result. The ``cmp``, ``key``, and ``reverse`` arguments are passed through to
the constructed list's ``.sort()`` method. ::
More information about the Python-checkins
mailing list