[Python-checkins] r62411 - python/branches/py3k/Doc/library/functools.rst
georg.brandl
python-checkins at python.org
Sun Apr 20 00:18:33 CEST 2008
Author: georg.brandl
Date: Sun Apr 20 00:18:33 2008
New Revision: 62411
Log:
Remove duplicated reduce() entry.
Modified:
python/branches/py3k/Doc/library/functools.rst
Modified: python/branches/py3k/Doc/library/functools.rst
==============================================================================
--- python/branches/py3k/Doc/library/functools.rst (original)
+++ python/branches/py3k/Doc/library/functools.rst Sun Apr 20 00:18:33 2008
@@ -15,13 +15,6 @@
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 @@
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,
More information about the Python-checkins
mailing list