From bd81cbd584e89ffcf4751e83be9c7cac369206bd Mon Sep 17 00:00:00 2001 From: Gerrit Holl Date: Wed, 4 Jul 2018 23:26:32 +0100 Subject: [PATCH] DOC: In `reduce`, refer to `accumulate` (GH-7930) --- Doc/library/functools.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index d0e3c7b201c2..5e278f9fe98f 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -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 -- 2.47.3