Kaydet (Commit) 09ac0881 authored tarafından Guido van Rossum's avatar Guido van Rossum

The call to PyArg_ParseTuple in al_Connect had one too few arguments.

This fixes PR#157.
üst d6ecfea8
...@@ -1545,7 +1545,7 @@ al_Connect(self, args) ...@@ -1545,7 +1545,7 @@ al_Connect(self, args)
ALparamInfo *propinfo = NULL; ALparamInfo *propinfo = NULL;
PyObject *propobj = 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; return NULL;
if (propobj != NULL) { if (propobj != NULL) {
nprops = python2params(source, dest, propobj, &props, &propinfo); nprops = python2params(source, dest, propobj, &props, &propinfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment