[docs] [issue33130] functools.reduce signature uses `iterable`, documentation should use the same term

Ben Finney report at bugs.python.org
Fri Nov 30 22:48:04 EST 2018


Ben Finney <ben+python at benfinney.id.au> added the comment:

The library documentation (e.g. file:///usr/share/doc/python3/html/library/functools.html#functools.reduce ) also has this dissonance:

>  functools.reduce(`function`, `iterable` [, `initializer` ])
>
>    Apply function of two arguments cumulatively to the items of `sequence`, from left to right, so as to reduce the sequence to a single value.

----------
nosy: +bignose
title: functools.reduce signature/docstring discordance -> functools.reduce signature uses `iterable`, documentation should use the same term

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33130>
_______________________________________


More information about the docs mailing list