Message219362
>> How do you display the contents of an iterable without using them up
> In general case you can't, but zip object _is_ reusable iterable so we can reuse it?
I think you're misunderstanding what an iterator is or how it functions. Just to make it clear, it cannot be "reused". What Eric suggested, was to look at the inputs of zip and construct a representation of zip object that is more user friendly. The point that Serhiy's is making is that its usefulness is actually fairly limited. |
|
Date |
User |
Action |
Args |
2014-05-29 19:36:47 | SilentGhost | set | recipients:
+ SilentGhost, BreamoreBoy, eric.snow, serhiy.storchaka, Sasha.Ovsankin |
2014-05-29 19:36:47 | SilentGhost | set | messageid: <1401392207.73.0.348992195597.issue21607@psf.upfronthosting.co.za> |
2014-05-29 19:36:47 | SilentGhost | link | issue21607 messages |
2014-05-29 19:36:46 | SilentGhost | create | |
|