diff options
author | Georg Brandl <georg@python.org> | 2007-08-28 08:29:08 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-08-28 08:29:08 (GMT) |
commit | ae0ee8a473130220bf2f55814167f4c7a03e6830 (patch) | |
tree | abd3323c4032cb20d7f3a5655e8eafeac44e9d28 | |
parent | 95f1a1be3deb38a13f100626369608dd8bb4aabc (diff) | |
download | cpython-ae0ee8a473130220bf2f55814167f4c7a03e6830.zip cpython-ae0ee8a473130220bf2f55814167f4c7a03e6830.tar.gz cpython-ae0ee8a473130220bf2f55814167f4c7a03e6830.tar.bz2 |
Document rev. 57574.
-rw-r--r-- | Doc/library/functools.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index c7e4dfc..f2f17b8 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -15,7 +15,15 @@ The :mod:`functools` module is for higher-order functions: functions that act on or return other functions. In general, any callable object can be treated as a function for the purposes of this module. -The :mod:`functools` module defines the following function: +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. + + .. versionadded:: 2.6 .. function:: partial(func[,*args][, **keywords]) |