[Python-ideas] Revised revised revised PEP on yield-from

Bruce Leban bruce at leapyear.org
Sun Feb 15 02:17:21 CET 2009


I'd like to understand better what this function would do:

    def generate_concatenate(generator_list):
        for g in generator_list:
            yield from g

in particular, what does generator_concatenate.close() do?

--- Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20090214/610585b2/attachment.html>


More information about the Python-ideas mailing list