mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Issue #23049: Pure python equivalent shouldn't imply more exactitude than is really there.
This commit is contained in:
parent
5bbd231f27
commit
558dcf38e6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user