summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-08-22 22:48:54 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-08-22 22:48:54 +0200
commit559bb6a71399af3b1b2a0ba97230d2bcc649e993 (patch)
tree94927374ac025ae249aa487ce4a17df99c3df2d8 /Python/pythonrun.c
parentc98afb7a26ac611a4544c5b8dd445d8ea05e6360 (diff)
downloadcpython-git-559bb6a71399af3b1b2a0ba97230d2bcc649e993.tar.gz
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()
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 2968b34cc8..3fb6f15dd7 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -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)) {