]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
DOC: In `reduce`, refer to `accumulate` (GH-7930)
authorGerrit Holl <gerrit.holl@gmail.com>
Wed, 4 Jul 2018 22:26:32 +0000 (23:26 +0100)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Wed, 4 Jul 2018 22:26:32 +0000 (15:26 -0700)
Doc/library/functools.rst

index d0e3c7b201c2197b4305a10edecf35f915bdb864..5e278f9fe98f13150e0846db19cc1ffa63c3d223 100644 (file)
@@ -263,6 +263,8 @@ The :mod:`functools` module defines the following functions:
               value = function(value, element)
           return value
 
+   See :func:`itertools.accumulate` for an iterator that yields all intermediate
+   values.
 
 .. decorator:: singledispatch