How do you test for a function that returns nothing, and why doesn't this work? Shouldn't X have to be either None or not? >>>x = None >>> for x in []: ... if x is None: ... print "X is None" ... else: ... print "X is not None" ... Thanks, rick