Convert array.array.insert to use Py_ssize_t (like the rest already does.)

This commit is contained in:
Thomas Wouters 2006-02-27 19:44:56 +00:00
parent c7d37264bb
commit b9eb5510e6
1 changed files with 2 additions and 2 deletions

View File

@ -1028,9 +1028,9 @@ PyDoc_STRVAR(extend_doc,
static PyObject *
array_insert(arrayobject *self, PyObject *args)
{
int i;
Py_ssize_t i;
PyObject *v;
if (!PyArg_ParseTuple(args, "iO:insert", &i, &v))
if (!PyArg_ParseTuple(args, "nO:insert", &i, &v))
return NULL;
return ins(self, i, v);
}