On 2017-06-27 14:02, David Mertz wrote:
         iterable3 = iterable1.chain(iterable2)


How do you chain it1, it2, it3, etc?

Why not:

    iterable5 = iterable1.chain(iterable2, iterable3, iterable4)

?  i.e. Couldn't a class method do this with itertools.chain() under the hood?
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to