I think I was trying for something like this, where the intervening for iterates over a function that may or may not produce nothing: >>>>x = None >>>>for x in []: print x >>>>if x is None: print "x is still none because nothing happened" Thanks, rick