RE: [Python-Dev] Single- vs. Multi-pass iterability
15 Jul
2002
15 Jul
'02
4:51 a.m.
From: Delaney, Timothy [mailto:tdelaney@avaya.com]
if iter(x) == iter(x): # this is *definitely* a single-pass iterable
Of course, that should have been if iter(x) is iter(x): # this is *definitely* a single-pass iterable Too much damned Java at the moment :( Tim Delaney
7966
Age (days ago)
7966
Last active (days ago)
0 comments
1 participants
participants (1)
-
Delaney, Timothy