Found it in the numpy book! Page 23:
The other types in the hierarchy de?ne particular categories of types.
These categories can be useful for testing whether or not the object
returned by self.dtype.type is of a particular class (using issubclass).
issubclass(n.dtype('int8').type, n.integer)
>>> True
issubclass(n.dtype('int16').type, n.integer)
>>> True
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…