[Numpy-discussion] .bytes

Yves Revaz yves.revaz@obspm...
Mon Oct 15 05:46:01 CDT 2007


Nadav Horesh wrote:

>array(1, dtype=float32).itemsize
>
>  
>
ok, it will work fine for my purpose.
In numpy, is there any reason to supress the attribute .bytes from the 
type object itself ?
Is it simply because the native python types (int, float, complex, etc.) 
do not have this attribute ?

>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Numpy-discussion mailing list
>Numpy-discussion@scipy.org
>http://projects.scipy.org/mailman/listinfo/numpy-discussion
>  
>


-- 
                                                (o o)
--------------------------------------------oOO--(_)--OOo-------
  Yves Revaz
  Lerma Batiment A           Tel : ++ 33 (0) 1 40 51 20 79
  Observatoire de Paris      Fax : ++ 33 (0) 1 40 51 20 02 
  77 av Denfert-Rochereau    e-mail : yves.revaz@obspm.fr
  F-75014 Paris              Web : http://obswww.unige.ch/~revaz/
  FRANCE             
----------------------------------------------------------------



More information about the Numpy-discussion mailing list