On Nov 19, Ben Finney wrote: ... > This is just one of many reasons why I advocate always having a > *single* return statement, at the *end* of the function.
Agreed that it's a good *general* practice, but sometimes early exit is useful and clear. This is somewhat of a religious topic. A good discussion is: http://c2.com/cgi/wiki?SingleFunctionExitPoint pychecker warns of fall-off-the-end functions. -- _ _ ___ |V|icah |- lliott <>< [EMAIL PROTECTED] " " """ -- http://mail.python.org/mailman/listinfo/python-list