Correct argument parsing for alp_getstatus, which is METH_VARARGS.

This commit is contained in:
Martin v. Löwis 2001-11-03 10:48:43 +00:00
parent e16d94b77e
commit 0bd292f004
1 changed files with 1 additions and 1 deletions

View File

@ -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);