]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix missing bracket
authorBenjamin Peterson <benjamin@python.org>
Sun, 14 Dec 2008 17:26:04 +0000 (17:26 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 14 Dec 2008 17:26:04 +0000 (17:26 +0000)
Doc/howto/functional.rst

index 792344dac2cf75be20f82b0155125babb828f3ae..b717f80bf0543c23874fd1f949220c2937ac043b 100644 (file)
@@ -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. ::