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

josef.pktd@gmai... josef.pktd@gmai...
Thu Aug 20 20:05:35 CDT 2009


2009/8/20 Stéfan van der Walt <stefan@sun.ac.za>:
> 2009/8/20 Dr. Phillip M. Feldman <pfeldman@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@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