[Numpy-discussion] bool value of dtype is False?
Charles G. Waldman
charles at crunch.io
Fri Feb 14 16:51:55 EST 2014
>>> d = numpy.dtype(int)
>>> if d: print "OK"
... else: print "I'm surprised"
I'm surprised
More information about the NumPy-Discussion
mailing list