Message216172
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. |
|
Date |
User |
Action |
Args |
2014-04-14 19:00:24 | chrish42 | set | recipients:
+ chrish42, rhettinger, terry.reedy, ezio.melotti, MLModel, docs@python |
2014-04-14 19:00:24 | chrish42 | set | messageid: <1397502024.19.0.0715521165939.issue20103@psf.upfronthosting.co.za> |
2014-04-14 19:00:24 | chrish42 | link | issue20103 messages |
2014-04-14 19:00:23 | chrish42 | create | |
|