diff options
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/ceval.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 7c1d407f19..4bf53e8ce2 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2254,6 +2254,9 @@ Py_FlushLine()  /* External interface to call any callable object.     The arg must be a tuple or NULL. */ +#undef PyEval_CallObject +/* for backward compatibility: export this interface */ +  PyObject *  PyEval_CallObject(func, arg)  	PyObject *func; @@ -2261,6 +2264,8 @@ PyEval_CallObject(func, arg)  {  	return PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL);  } +#define PyEval_CallObject(func,arg) \ +        PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL)  PyObject *  PyEval_CallObjectWithKeywords(func, arg, kw)  | 
