mirror of https://github.com/python/cpython.git
DOC: In `reduce`, refer to `accumulate` (GH-7930)
This commit is contained in:
parent
5b6e49a139
commit
bd81cbd584
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue