From: Gerrit Holl Date: Wed, 4 Jul 2018 22:26:32 +0000 (+0100) Subject: DOC: In `reduce`, refer to `accumulate` (GH-7930) X-Git-Tag: v3.8.0a1~1444 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd81cbd584e89ffcf4751e83be9c7cac369206bd;p=thirdparty%2FPython%2Fcpython.git DOC: In `reduce`, refer to `accumulate` (GH-7930) --- 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