[Zodb-checkins] CVS: StandaloneZODB/ZODB - cPersistence.c:1.61
Jeremy Hylton
jeremy@zope.com
Fri, 14 Jun 2002 11:34:30 -0400
Update of /cvs-repository/StandaloneZODB/ZODB
In directory cvs.zope.org:/tmp/cvs-serv1747
Modified Files:
cPersistence.c
Log Message:
Ooops. Call method with C API function that exists in Python 2.1.
=== StandaloneZODB/ZODB/cPersistence.c 1.60 => 1.61 ===
}
PyTuple_SET_ITEM(arg, 0, (PyObject *)self);
- result = PyObject_Call(meth, arg, NULL);
+ result = PyEval_CallObject(meth, arg);
PyTuple_SET_ITEM(arg, 0, NULL);
Py_DECREF(arg);
Py_DECREF(meth);