On Sat, Apr 2, 2016 at 12:15 AM, Marko Rauhamaa <ma...@pacujo.net> wrote: > Note to self: range(10) is an iterator factory, not an iterator.
It is an iterable. It is not a factory, as that implies that you call it. It is an object which, when you ask it for an iterator, gives you an iterator. That's called an iterable. ChrisA -- https://mail.python.org/mailman/listinfo/python-list