summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-04-19 22:18:33 (GMT)
committerGeorg Brandl <georg@python.org>2008-04-19 22:18:33 (GMT)
commit58f9e4f34793a14050648c9f620e96189908a3e9 (patch)
tree08f5950d5a345235ee73df3dba684477cc7d9c4f /Doc/library
parente8dd0708a4110e5f1b5b72d2585e96e3bed0836a (diff)
downloadcpython-58f9e4f34793a14050648c9f620e96189908a3e9.zip
cpython-58f9e4f34793a14050648c9f620e96189908a3e9.tar.gz
cpython-58f9e4f34793a14050648c9f620e96189908a3e9.tar.bz2
Remove duplicated reduce() entry.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/functools.rst9
1 files changed, 1 insertions, 8 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 4bec7ba..6fd3cf9 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -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,