Python style guidelines

Josef Meile jmeile at
Thu Mar 11 16:39:59 CET 2004

>>>>>if a.find('foo'):
>>...    print "foo was found"
>>foo was found
> a.find does not return a boolean, so that particular style guideline
> does not apply.
I know, but I found this on the Zope source, which
means that there is people thinking that the False
on python includes negative values.

More information about the Python-list mailing list