Reference

Alexander Blinne news at blinne.net
Tue Mar 4 16:53:22 EST 2014


Am 04.03.2014 15:06, schrieb Chris Angelico:
> https://github.com/Rosuav/ExceptExpr/blob/master/find_except_expr.py

I have always found it quite nice that the python parser is so easy to
use from within python itself.

> Run across the Python stdlib, that tells me there are 4040 uses of
> is/is not, of which 16 compare against False, 18 against True (see?
> Python has a bias for truth above falsehood!), and 3386 against None.

I think i will have to rephrase my "is False" condition to make it more
truthy :)



More information about the Python-list mailing list