diff options
author | Raymond Hettinger <python@rcn.com> | 2014-12-17 02:16:57 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2014-12-17 02:16:57 (GMT) |
commit | 558dcf38e642afbf7670bad00e3eb7e3d40cc59c (patch) | |
tree | ce173b269798e8c6ca5072d25aeeddd7335d2cd0 /Doc/library | |
parent | 5bbd231f27f254cd92ce543dca82f65c4d90f20d (diff) | |
download | cpython-558dcf38e642afbf7670bad00e3eb7e3d40cc59c.zip cpython-558dcf38e642afbf7670bad00e3eb7e3d40cc59c.tar.gz cpython-558dcf38e642afbf7670bad00e3eb7e3d40cc59c.tar.bz2 |
Issue #23049: Pure python equivalent shouldn't imply more exactitude than is really there.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/functools.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index d87fa58..46aa887 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -250,7 +250,7 @@ The :mod:`functools` module defines the following functions: a default when the sequence is empty. If *initializer* is not given and *sequence* contains only one item, the first item is returned. - Equivalent to:: + Roughly equivalent to:: def reduce(function, iterable, initializer=None): it = iter(iterable) |