Bengt Richter wrote: > E.g., so we could write > > for x in seq if x is not None:
Chundrous; looks like that p**l language ... > print repr(x), "isn't None ;-)" > > instead of > > for x in (x for x in seq if x is not None): Byzantine ... > print repr(x), "isn't None ;-)" > > just a thought. > What's wrong with the following? for x in seq: if x is not None: print repr(x), "isn't None ;-)" -- http://mail.python.org/mailman/listinfo/python-list