On 09/22/2013 05:24 PM, Neil Girdhar wrote: > Why not just add one line? > > def __iter__(self): return (self.__getitem__(i) for i in itertools.count()) Why should he? Python treats his class just fine the way it is. -- ~Ethan~