Message176246
Thanks, that works.
One of the things I like about Python is that you can write what you mean. I figured that since I meant "repeat [] as many times as necessary", that I should write it that way. So, from an intuitive standpoint, I still feel that these itertools types intuitively implement InfiniteSequence. Although I recognize that some people might see them only in the narrower sense of Iterators. |
|
Date |
User |
Action |
Args |
2012-11-23 20:29:53 | NeilGirdhar | set | recipients:
+ NeilGirdhar, rhettinger, eric.araujo, serhiy.storchaka |
2012-11-23 20:29:53 | NeilGirdhar | set | messageid: <1353702593.2.0.140031835265.issue16540@psf.upfronthosting.co.za> |
2012-11-23 20:29:53 | NeilGirdhar | link | issue16540 messages |
2012-11-23 20:29:53 | NeilGirdhar | create | |
|