Message207135
The documentation of itertools.accumulate (10.1) starts out with 2 misleading sentences: "Make an iterator that returns accumulated sums. Elements may be any addable type..." It then goes on to show examples of using the func parameter added in 3.3 that are not additions. It should be changed to something like: "Make an iterator that returns accumulated values. Elements may be any type that can be an argument to func. Func defaults to addition, so by default elements can be any addable types, ..." My wording is awkward, but you get the idea. I think this is a significant documentation issue, not just a nit. |
|
Date |
User |
Action |
Args |
2014-01-01 16:12:00 | MLModel | set | recipients:
+ MLModel, docs@python |
2014-01-01 16:12:00 | MLModel | set | messageid: <1388592720.87.0.970906154406.issue20103@psf.upfronthosting.co.za> |
2014-01-01 16:12:00 | MLModel | link | issue20103 messages |
2014-01-01 16:12:00 | MLModel | create | |
|