Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09ac088

Browse files
committed
The call to PyArg_ParseTuple in al_Connect had one too few arguments.
This fixes PR#157.
1 parent d6ecfea commit 09ac088

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/almodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@ al_Connect(self, args)
15451545
ALparamInfo *propinfo = NULL;
15461546
PyObject *propobj = NULL;
15471547

1548-
if (!PyArg_ParseTuple(args, "ii|O!", &source, &dest, &propobj))
1548+
if (!PyArg_ParseTuple(args, "ii|O!", &source, &dest, &PyList_Type, &propobj))
15491549
return NULL;
15501550
if (propobj != NULL) {
15511551
nprops = python2params(source, dest, propobj, &props, &propinfo);

0 commit comments

Comments
 (0)