summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index fdfb8c6..b458d7a 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -329,7 +329,7 @@ PyErr_Print()
PyObject *exception, *v, *tb, *f;
PyErr_Fetch(&exception, &v, &tb);
if (exception == NULL)
- return 0;
+ return;
if (exception == PyExc_SystemExit) {
err = Py_FlushLine();
fflush(stdout);