Rename _PyObject_FastCall() to _PyObject_FastCallDict()

Issue #27809:

* Rename _PyObject_FastCall() function to _PyObject_FastCallDict()
* Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1()
  macros calling _PyObject_FastCallDict()
This commit is contained in:
Victor Stinner 2016-08-22 22:48:54 +02:00
parent c98afb7a26
commit 559bb6a713
12 changed files with 39 additions and 30 deletions

View file

@ -636,7 +636,7 @@ PyErr_PrintEx(int set_sys_last_vars)
stack[0] = exception;
stack[1] = v;
stack[2] = tb;
result = _PyObject_FastCall(hook, stack, 3, NULL);
result = _PyObject_FastCall(hook, stack, 3);
if (result == NULL) {
PyObject *exception2, *v2, *tb2;
if (PyErr_ExceptionMatches(PyExc_SystemExit)) {