Python: Add missing NULL sentinel in PyObject_CallFunctionObjArgs() call.

This commit is contained in:
Gunnar Beutner 2013-02-16 12:36:37 +01:00
parent 7cb67afaae
commit efb62f4b5c
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ String PythonLanguage::ExceptionInfoToString(PyObject *type, PyObject *exc, PyOb
if (!PyCallable_Check(format_exception))
return "Failed to format exception information.";
PyObject *result = PyObject_CallFunctionObjArgs(format_exception, type, exc, tb);
PyObject *result = PyObject_CallFunctionObjArgs(format_exception, type, exc, tb, NULL);
Py_DECREF(format_exception);
Py_DECREF(tb_dict);