[SciPy-dev] bool8 link returns bool_ docstring
Stéfan van der Walt
stefan at sun.ac.za
Thu Jul 16 11:49:21 EDT 2009
2009/7/16 David Goldsmith <d_l_goldsmith at yahoo.com>:
>
> Once again I believe I've answered my own question (I need to have more faith in my research abilities and not cry for help so quickly): Figure 2.2 in "Guide To Numpy" illustrating the hierarchy of scalar types -
> the names used there are the "base" names, any equivalent is considered an "alias," yes? Oh, but this doesn't answer my first question: is the fact that the Wiki returns the same docstring for equivalent types a bug or a feature? (At this point I'm assuming "feature," but confirmation would be appreciated.) Thanks,
It's the same object:
In [8]: np.bool_
Out[8]: <type 'numpy.bool_'>
In [9]: np.bool8
Out[9]: <type 'numpy.bool_'>
Cheers
Stéfan
More information about the SciPy-Dev
mailing list