diff options
author | Guido van Rossum <guido@python.org> | 1999-12-10 15:12:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-12-10 15:12:11 (GMT) |
commit | 09ac0881524032487738a087874a75de74a18547 (patch) | |
tree | 1baab769f60cf8f81027bb6095b837f0e5f5512c /Modules/almodule.c | |
parent | d6ecfea8ded58ca2f97353423b3cf19e11fb63ad (diff) | |
download | cpython-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/almodule.c')
-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 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); |