summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-12-10 15:12:11 (GMT)
committerGuido van Rossum <guido@python.org>1999-12-10 15:12:11 (GMT)
commit09ac0881524032487738a087874a75de74a18547 (patch)
tree1baab769f60cf8f81027bb6095b837f0e5f5512c /Modules
parentd6ecfea8ded58ca2f97353423b3cf19e11fb63ad (diff)
downloadcpython-09ac0881524032487738a087874a75de74a18547.zip
cpython-09ac0881524032487738a087874a75de74a18547.tar.gz
cpython-09ac0881524032487738a087874a75de74a18547.tar.bz2
The call to PyArg_ParseTuple in al_Connect had one too few arguments.
This fixes PR#157.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/almodule.c2
1 files changed, 1 insertions, 1 deletions
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);