>>>>> "Paul" == Paul Moore <[EMAIL PROTECTED]> writes:

    Paul> You can work around the need for something like yield_all,
    Paul> or explicit loops, by defining an "iflatten" generator,
    Paul> which yields every element of its (iterable) argument,
    Paul> unless the element is a generator, in which case we recurse
    Paul> into it:
    Paul> ...

Only if you'd never want to yield a generator.

Regards,
Isaac.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to