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 chrish42
Recipients MLModel, chrish42, docs@python, ezio.melotti, rhettinger, terry.reedy
Date 2014-04-14.19:00:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397502024.19.0.0715521165939.issue20103@psf.upfronthosting.co.za>
In-reply-to
Content
The following patch improves (I hope) the documentation of itertools.accumulate. Comments and feedback welcome.

Terry, I did not implement your suggestion of changing "returns" to "yields", as it would have made things inconsistent with the documentation (and docstrings) of pretty much all the other generators in the itertools module, as they all use this idiom also. If one of the Python documentation experts thinks this change is also a good idea, please just open a new bug report for that and put me in the nosy list, and I'll do the change for all relevant generators in the itertools module.
History
Date User Action Args
2014-04-14 19:00:24chrish42setrecipients: + chrish42, rhettinger, terry.reedy, ezio.melotti, MLModel, docs@python
2014-04-14 19:00:24chrish42setmessageid: <1397502024.19.0.0715521165939.issue20103@psf.upfronthosting.co.za>
2014-04-14 19:00:24chrish42linkissue20103 messages
2014-04-14 19:00:23chrish42create