Commit 0bd292f0 authored by Martin v. Löwis's avatar Martin v. Löwis

Correct argument parsing for alp_getstatus, which is METH_VARARGS.

parent e16d94b7
......@@ -1203,7 +1203,7 @@ alp_getstatus(alpobject *self, PyObject *args)
long length;
int i;
if (!PyArg_Parse(args, "O!", &PyList_Type, &list))
if (!PyArg_ParseTuple(args, "O!", &PyList_Type, &list))
return NULL;
length = PyList_Size(list);
PVbuffer = PyMem_NEW(long, length);
......
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