E.g., so we could write

    for x in seq if x is not None:
        print repr(x), "isn't None ;-)"

instead of

    for x in (x for x in seq if x is not None):
        print repr(x), "isn't None ;-)"

just a thought.

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

Reply via email to