Skip to content

Commit d8a5538

Browse files
Apply suggestions from code review
Co-authored-by: Peter Bierma <[email protected]>
1 parent ede87bf commit d8a5538

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ The :mod:`functools` module defines the following functions:
481481
See :func:`itertools.accumulate` for an iterator that yields all intermediate
482482
values.
483483

484-
.. versionchanged:: 3.14
484+
.. versionchanged:: next
485485
*initial* is now supported as a keyword argument.
486486

487487
.. decorator:: singledispatch

Modules/_functoolsmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ it is placed before the items of the iterable in the calculation, and serves as
947947
a default when the iterable is empty.
948948
949949
For example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5])
950-
calculates ((((1+2)+3)+4)+5).
950+
calculates ((((1 + 2) + 3) + 4) + 5).
951951
[clinic start generated code]*/
952952

953953
static PyObject *

0 commit comments

Comments
 (0)