Hi,
__itemsize__ - in bytes, corresponds to item size field in the types
definition structure.
It's a field for types.
See:
http://docs.python.org/c-api/typeobj.html#tp_itemsize
On Tue, Dec 21, 2010 at 9:36 AM, Maciej Fijalkowski <[email protected]> wrote:
>
> On Tue, Dec 21, 2010 at 10:58 AM, Arnd Rechenburg
> <[email protected]> wrote:
> > Hi,
> >
> >
> >
> > In my code I need something like
> >
> > long.__itemsize__
> >
> > in Python.
> >
> >
> >
> > Any suggestions to do it with pypy?
> >
>
> Hey.
>
> This attribute is undocumented and untested as far as I can tell. What
> does it do?
>
> Cheers,
> fijal
>
>
> >
> >
> > Regards,
> >
> > Arnd
> >
> > _______________________________________________
> > [email protected]
> > http://codespeak.net/mailman/listinfo/pypy-dev
> >
> _______________________________________________
> [email protected]
> http://codespeak.net/mailman/listinfo/pypy-dev
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev