On Fri, Apr 1, 2016, at 09:24, Chris Angelico wrote:
> It is an iterable. It is not a factory, as that implies that you call
> it.

I do have an objection to this statement. It's perfectly reasonable to
describe the factory pattern as applying to objects on which you call a
method to return the new object you are interested in. In this sense,
all collections are iterator factories.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to