]> granicus.if.org Git - python/commitdiff
Remove duplicated reduce() entry.
authorGeorg Brandl <georg@python.org>
Sat, 19 Apr 2008 22:18:33 +0000 (22:18 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 19 Apr 2008 22:18:33 +0000 (22:18 +0000)
Doc/library/functools.rst

index 4bec7bab50d2ef120dcd6ad69f8202228205c0df..6fd3cf98553e983a8257f7c96d048dce463b47ff 100644 (file)
@@ -15,13 +15,6 @@ function for the purposes of this module.
 
 The :mod:`functools` module defines the following functions:
 
-
-.. function:: reduce(function, iterable[, initializer])
-
-   This is the same function as :func:`reduce`.  It is made available in this module
-   to allow writing code more forward-compatible with Python 3.
-
-
 .. function:: partial(func[,*args][, **keywords])
 
    Return a new :class:`partial` object which when called will behave like *func*
@@ -53,7 +46,7 @@ The :mod:`functools` module defines the following functions:
       18
 
 
-.. function:: reduce(function, sequence[, initializer])
+.. function:: reduce(function, iterable[, initializer])
 
    Apply *function* of two arguments cumulatively to the items of *sequence*, from
    left to right, so as to reduce the sequence to a single value.  For example,