[Numpy-discussion] int is a subtype of bool?

Nathaniel Smith njs@pobox....
Wed Feb 9 17:07:01 CST 2011

This can't possibly be right, can it? Or am I missing something? (It
certainly doesn't seem to match any documentation that I can find)

>>> np.issubdtype(int, bool)
>>> np.__version__

-- Nathaniel

More information about the NumPy-Discussion mailing list