On Wed, Sep 26, 2018, 19:30 David Mertz <me...@gnosis.cx> wrote: > We also have: > > from itertools import count > for i in count(): > ... > > If you want to keep track of how close to infinity you are. :-) >
We also have: from itertools import repeat for i in repeat(...): ... with kind regards, -gdg
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/