From: Guido van Rossum Date: Fri, 10 Dec 1999 15:12:11 +0000 (+0000) Subject: The call to PyArg_ParseTuple in al_Connect had one too few arguments. X-Git-Tag: v1.6a1~667 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=09ac0881524032487738a087874a75de74a18547;p=thirdparty%2FPython%2Fcpython.git The call to PyArg_ParseTuple in al_Connect had one too few arguments. This fixes PR#157. --- diff --git a/Modules/almodule.c b/Modules/almodule.c index ffd5a5632fc4..7fcfae610c81 100644 --- a/Modules/almodule.c +++ b/Modules/almodule.c @@ -1545,7 +1545,7 @@ al_Connect(self, args) ALparamInfo *propinfo = NULL; PyObject *propobj = NULL; - if (!PyArg_ParseTuple(args, "ii|O!", &source, &dest, &propobj)) + if (!PyArg_ParseTuple(args, "ii|O!", &source, &dest, &PyList_Type, &propobj)) return NULL; if (propobj != NULL) { nprops = python2params(source, dest, propobj, &props, &propinfo);