PyChecker messages

Ben Sizer kylotan at gmail.com
Mon Jan 17 12:34:31 EST 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