[Python-checkins] commit of r41903 - python/branches/ssize_t/Objects/typeobject.c

Neal Norwitz nnorwitz at gmail.com
Tue Jan 3 18:29:21 CET 2006


On 1/3/06, martin.v.loewis <python-checkins at python.org> wrote:
> Log:
> Update wrappers for ssize_t.

>  {
>         ssizeargfunc func = (ssizeargfunc)wrapped;
> -       int i;
> +       Py_ssize_t i;
>
> -       if (!PyArg_ParseTuple(args, "i", &i))
> +       if (!PyArg_ParseTuple(args, "n", &i))
>                 return NULL;
>         return (*func)(self, i);
>  }

Thanks Martin.  I realized I missed those last night.

n


More information about the Python-checkins mailing list