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

2022-01-06 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2019-03-24 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

The original report for documentation seems to have been fixed with 
https://github.com/python/cpython/pull/9634 and the linked PR is closed with no 
changes to be merged. So I would propose closing if this was only with respect 
to changing documentation and not docstring. As an additional note issue32321 
added a python fallback implementation of functools.reduce that uses the same 
docstring like the C implementation. 

Thanks @vreuter for the report.

--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-11-30 Thread Ben Finney


Ben Finney  added the comment:

Hah, sorry to use a local-filesystem URL. (Hooray for locally-installed 
developer documentation!)

The same section is online at 
https://docs.python.org/3/library/functools.html#functools.reduce .

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-11-30 Thread Ben Finney


Ben Finney  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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com