projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ecfea
)
The call to PyArg_ParseTuple in al_Connect had one too few arguments.
author
Guido van Rossum
<guido@python.org>
Fri, 10 Dec 1999 15:12:11 +0000
(15:12 +0000)
committer
Guido van Rossum
<guido@python.org>
Fri, 10 Dec 1999 15:12:11 +0000
(15:12 +0000)
This fixes PR#157.
Modules/almodule.c
patch
|
blob
|
history
diff --git
a/Modules/almodule.c
b/Modules/almodule.c
index ffd5a5632fc43da94d7e55b55f1a6bb8b276ba1d..7fcfae610c81f541859abf210bea0dae8f4f33b8 100644
(file)
--- 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);