DOC: In `reduce`, refer to `accumulate` (GH-7930)

This commit is contained in:
Gerrit Holl 2018-07-04 23:26:32 +01:00 committed by Raymond Hettinger
parent 5b6e49a139
commit bd81cbd584
1 changed files with 2 additions and 0 deletions

View 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