mirror of
https://github.com/python/cpython
synced 2026-09-28 10:38:16 +03:00
The call to PyArg_ParseTuple in al_Connect had one too few arguments.
This fixes PR#157.
This commit is contained in:
parent
d6ecfea8de
commit
09ac088152
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue