summaryrefslogtreecommitdiffstats
path: root/Modules/almodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-11-03 10:48:43 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-11-03 10:48:43 (GMT)
commit0bd292f00477674e1d8595c4b3fe8c632b4ae4ab (patch)
tree23c03f52abda53ba8138a93266b55f5e64f4a5ca /Modules/almodule.c
parente16d94b77e0ea851d91479c3337ce6b8a5198e5e (diff)
downloadcpython-0bd292f00477674e1d8595c4b3fe8c632b4ae4ab.zip
cpython-0bd292f00477674e1d8595c4b3fe8c632b4ae4ab.tar.gz
cpython-0bd292f00477674e1d8595c4b3fe8c632b4ae4ab.tar.bz2
Correct argument parsing for alp_getstatus, which is METH_VARARGS.
Diffstat (limited to 'Modules/almodule.c')
-rw-r--r--Modules/almodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/almodule.c b/Modules/almodule.c
index 6621b9c..9e26081 100644
--- a/Modules/almodule.c
+++ b/Modules/almodule.c
@@ -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);