From 558dcf38e642afbf7670bad00e3eb7e3d40cc59c Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 16 Dec 2014 18:16:57 -0800 Subject: Issue #23049: Pure python equivalent shouldn't imply more exactitude than is really there. --- Doc/library/functools.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12