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

josef.pktd at gmail.com josef.pktd at gmail.com
Thu Aug 20 21:05:35 EDT 2009


2009/8/20 Stéfan van der Walt <stefan at sun.ac.za>:
> 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
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>

itemsize is  listed as an attribute in the numpy 1.2 docs.

Josef



More information about the NumPy-Discussion mailing list