[Python-3000] callable()
Stefan Behnel
behnel_ml at gkec.informatik.tu-darmstadt.de
Fri Jul 21 22:17:10 CEST 2006
Guido van Rossum wrote:
> def __iter__(self):
> for i in itertools.count():
> yield self[i]
Note that this likely raises IndexError, not StopIteration.
Stefan
More information about the Python-3000
mailing list