This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Stefan Pochmann
Recipients Stefan Pochmann, docs@python
Date 2017-07-30.21:06:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501448787.5.0.80084797494.issue31082@psf.upfronthosting.co.za>
In-reply-to
Content
functools.reduce has a parameter called "iterable" and it only needs to be an iterable, not a sequence.

The paragraph documenting it says "sequence" instead of "iterable" six times:
https://docs.python.org/3/library/functools.html#functools.reduce

The help shown by executing "help(functools.reduce)" in Python additionally actually names the parameter "sequence" in the signature.
History
Date User Action Args
2017-07-30 21:06:27Stefan Pochmannsetrecipients: + Stefan Pochmann, docs@python
2017-07-30 21:06:27Stefan Pochmannsetmessageid: <1501448787.5.0.80084797494.issue31082@psf.upfronthosting.co.za>
2017-07-30 21:06:27Stefan Pochmannlinkissue31082 messages
2017-07-30 21:06:27Stefan Pochmanncreate