Skip to content

Commit 84f0a04

Browse files
Update Doc/library/functools.rst
Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent d8a5538 commit 84f0a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ The :mod:`functools` module defines the following functions:
453453
.. versionadded:: 3.4
454454

455455

456-
.. function:: reduce(function, iterable, /, initial=_functools._initial_missing)
456+
.. function:: reduce(function, iterable, /[, initial])
457457

458458
Apply *function* of two arguments cumulatively to the items of *iterable*, from
459459
left to right, so as to reduce the iterable to a single value. For example,

0 commit comments

Comments
 (0)