Concatenating iterators
Magnus Lie Hetland
mlh at idi.ntnu.no
Tue Aug 28 19:45:18 EDT 2001
Is there a standard way of concatenating iterators
yet? It just seems to be useful in some cases:
for foo in iter1 + iter2: bar() # Illegal...
I know there are some homegrown wrapper-iterators
out there; I just wondered if I've missed something
completely standard...
--
Magnus Lie Hetland http://www.hetland.org
"Reality is that which, when you stop believing in
it, doesn't go away." -- Philip K. Dick
More information about the Python-list
mailing list