python / cpython

The Python programming language
https://www.python.org
Other
63.36k stars 30.34k forks source link

Function signature mismatch for `functools.reduce` between C implementation, Python implementation, and online documentaion #102757

Closed XuehaiPan closed 1 year ago

XuehaiPan commented 1 year ago

Documentation

(A clear and concise description of the issue.)

The function signature mismatch for functools.reduce:

Argument change: iterable -> sequence.

Argument change: initial -> initializer.

Linked PRs

XuehaiPan commented 1 year ago

Can anyone have a look at this and my PR #102759?

XuehaiPan commented 1 year ago

Closed via PR #102759.