Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58f9e4f

Browse files
committed
Remove duplicated reduce() entry.
1 parent e8dd070 commit 58f9e4f

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

Doc/library/functools.rst

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ function for the purposes of this module.
1515

1616
The :mod:`functools` module defines the following functions:
1717

18-
19-
.. function:: reduce(function, iterable[, initializer])
20-
21-
This is the same function as :func:`reduce`. It is made available in this module
22-
to allow writing code more forward-compatible with Python 3.
23-
24-
2518
.. function:: partial(func[,*args][, **keywords])
2619

2720
Return a new :class:`partial` object which when called will behave like *func*
@@ -53,7 +46,7 @@ The :mod:`functools` module defines the following functions:
5346
18
5447

5548

56-
.. function:: reduce(function, sequence[, initializer])
49+
.. function:: reduce(function, iterable[, initializer])
5750

5851
Apply *function* of two arguments cumulatively to the items of *sequence*, from
5952
left to right, so as to reduce the sequence to a single value. For example,

0 commit comments

Comments
 (0)