[pypy-dev] long.__itemsize__

René Dudfield renesd at gmail.com
Tue Dec 21 12:02:29 CET 2010


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 <fijall at gmail.com> wrote:
>
> On Tue, Dec 21, 2010 at 10:58 AM, Arnd Rechenburg
> <Arnd.Rechenburg at tomtom.com> 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
> >
> > _______________________________________________
> > pypy-dev at codespeak.net
> > http://codespeak.net/mailman/listinfo/pypy-dev
> >
> _______________________________________________
> pypy-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-dev



More information about the Pypy-dev mailing list