[Numpy-discussion] int is a subtype of bool?
Wed Feb 9 18:05:44 CST 2011
On Wed, 09 Feb 2011 15:07:01 -0800, Nathaniel Smith wrote:
> 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)
Thanks. It's a bug in issubdtype,
More information about the NumPy-Discussion