Comparison with False - something I don't understand

Tim Chase python.list at tim.thechases.com
Thu Dec 2 09:44:11 EST 2010


On 12/02/2010 08:18 AM, Harishankar wrote:
> Here I'm using it to compare the result of a function where I
> specifically return False on error condition,

This sounds exactly like the reason to use exceptions...you have 
an exceptional error condition.

-tkc





More information about the Python-list mailing list