Skip to content

Commit 25c35e3

Browse files
committed
update docstring for python version
1 parent 11e7d13 commit 25c35e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/functools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ def __ge__(self, other):
236236

237237
def reduce(function, sequence, initial=_initial_missing):
238238
"""
239-
reduce(function, iterable, /, initial=None) -> value
239+
reduce(function, iterable, /,
240+
initial=_functools._initial_missing) -> value
240241
241242
Apply a function of two arguments cumulatively to the items of a sequence
242243
or iterable, from left to right, so as to reduce the iterable to a single

0 commit comments

Comments
 (0)