summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
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)) {