[Numpy-discussion] itemsize() doesn't work

Stéfan van der Walt stefan at sun.ac.za
Thu Aug 20 20:58:14 EDT 2009


2009/8/20 Dr. Phillip M. Feldman <pfeldman at verizon.net>:
>
> I've been reading the online NumPy tutorial at the following URL:
>
> http://numpy.scipy.org/numpydoc/numpy-10.html
>
> When I try the following example, I get an error message:
>
> In [1]: a=arange(10)
> In [2]: a.itemsize()

This is a mistake, and should be "a.itemsize".  The latest docs are
always on docs.scipy.org, so if this same mistake occurs there, please
fix it.

Thanks!
Stéfan



More information about the NumPy-Discussion mailing list