summaryrefslogtreecommitdiffstats
path: root/Doc/library/itertools.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-10-12 23:04:17 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-10-12 23:04:17 (GMT)
commit64801680d3b8fe148da331b68923f06f626f01f1 (patch)
tree03ffa5783ca8198c359b73ca6300e6729e91a0d5 /Doc/library/itertools.rst
parent5d4121a6311065723426b977a8f080518cdf8738 (diff)
downloadcpython-64801680d3b8fe148da331b68923f06f626f01f1.zip
cpython-64801680d3b8fe148da331b68923f06f626f01f1.tar.gz
cpython-64801680d3b8fe148da331b68923f06f626f01f1.tar.bz2
Issue #19202: Add cross-reference and a rough code equivalent
Diffstat (limited to 'Doc/library/itertools.rst')
-rw-r--r--Doc/library/itertools.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index 25f34bf..0156c05 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -135,6 +135,9 @@ loops that truncate the stream.
'0.93', '0.25', '0.71', '0.79', '0.63', '0.88', '0.39', '0.91', '0.32',
'0.83', '0.54', '0.95', '0.20', '0.60', '0.91', '0.30', '0.80', '0.60']
+ See :func:`functools.reduce` for a similar function that returns only the
+ final accumulated value.
+
.. versionadded:: 3.2
.. versionchanged:: 3.3