diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-11-03 10:48:43 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-11-03 10:48:43 (GMT) |
commit | 0bd292f00477674e1d8595c4b3fe8c632b4ae4ab (patch) | |
tree | 23c03f52abda53ba8138a93266b55f5e64f4a5ca /Modules | |
parent | e16d94b77e0ea851d91479c3337ce6b8a5198e5e (diff) | |
download | cpython-0bd292f00477674e1d8595c4b3fe8c632b4ae4ab.zip cpython-0bd292f00477674e1d8595c4b3fe8c632b4ae4ab.tar.gz cpython-0bd292f00477674e1d8595c4b3fe8c632b4ae4ab.tar.bz2 |
Correct argument parsing for alp_getstatus, which is METH_VARARGS.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/almodule.c | 2 |
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); |