summaryrefslogtreecommitdiffstats
path: root/Doc/howto/functional.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-12-14 17:26:04 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-12-14 17:26:04 (GMT)
commit3e1c67e86660c17a9860470947bf460f298e5b5e (patch)
tree971aa0d2c82550563d7daf82256ca63d7e768b77 /Doc/howto/functional.rst
parentbbba3f0cecf29c7924b99c1ea1214d8b7938b331 (diff)
downloadcpython-3e1c67e86660c17a9860470947bf460f298e5b5e.zip
cpython-3e1c67e86660c17a9860470947bf460f298e5b5e.tar.gz
cpython-3e1c67e86660c17a9860470947bf460f298e5b5e.tar.bz2
fix missing bracket
Diffstat (limited to 'Doc/howto/functional.rst')
-rw-r--r--Doc/howto/functional.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst
index 792344d..b717f80 100644
--- a/Doc/howto/functional.rst
+++ b/Doc/howto/functional.rst
@@ -728,7 +728,7 @@ indexes at which certain conditions are met::
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. ::