Kaydet (Commit) b9eb5510 authored tarafından Thomas Wouters's avatar Thomas Wouters

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

üst c7d37264
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment