On Thu, May 12, 2005 at 04:42:34PM +0100, Tim Williams wrote: > Just don't use a return statement at all, or do something like > > [function body] > if not val = None: > return val > [end of function]
i didn't understood that. if you don't return nothing explicitly the function returns None. (or am i wrong?) c. -- Hi, I'm a .signature virus! Copy me to your .signature file and help me propagate, thanks! -- http://mail.python.org/mailman/listinfo/python-list