diff options
author | Gerrit Holl <gerrit.holl@gmail.com> | 2018-07-04 22:26:32 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-07-04 22:26:32 (GMT) |
commit | bd81cbd584e89ffcf4751e83be9c7cac369206bd (patch) | |
tree | a3e513a5da70423d92b15afcffd21f8ca4fc56fb | |
parent | 5b6e49a1393b3e2313471696e3568e26296137b4 (diff) | |
download | cpython-bd81cbd584e89ffcf4751e83be9c7cac369206bd.zip cpython-bd81cbd584e89ffcf4751e83be9c7cac369206bd.tar.gz cpython-bd81cbd584e89ffcf4751e83be9c7cac369206bd.tar.bz2 |
DOC: In `reduce`, refer to `accumulate` (GH-7930)
-rw-r--r-- | Doc/library/functools.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index d0e3c7b..5e278f9 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 |