PyChecker messages

Ben Sizer kylotan at
Mon Jan 17 18:34:31 CET 2005

But you could use a dict of return values, or even just assigning a
different return value in each if clause. The end result is that you
have a single well-defined exit point from the function, which is
generally considered to be preferable.

More information about the Python-list mailing list