diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/pyexpat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index fc419b1..8b73e1e 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -829,7 +829,7 @@ readinst(char *buf, int buf_size, PyObject *meth) PyTuple_SET_ITEM(arg, 0, bytes); - if ((str = PyObject_CallObject(meth, arg)) == NULL) + if ((str = PyObject_Call(meth, arg, NULL)) == NULL) goto finally; /* XXX what to do if it returns a Unicode string? */ |