From 09ac0881524032487738a087874a75de74a18547 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 10 Dec 1999 15:12:11 +0000 Subject: The call to PyArg_ParseTuple in al_Connect had one too few arguments. This fixes PR#157. --- Modules/almodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/almodule.c b/Modules/almodule.c index ffd5a56..7fcfae6 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); -- cgit v0.12