Steven D'Aprano <[EMAIL PROTECTED]> writes:
> What techniques do others use?

I'd just write the generator with a yield statement.  The generator
expression does the same thing more concisely, I think.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to