I have a function, generally described as so: def function(args): if condition: if condition2: function(args+1) elif condition3: print "text" return True else: return False
which is used in: if function(args): print "ok" so here basically "text" will print out when condition3 is true but it will not print out "ok" when condition3 is true. When it's true it should print out borth "text" and "ok" -- http://mail.python.org/mailman/listinfo/python-list