From: Guido van Rossum Date: Fri, 23 May 1997 00:19:20 +0000 (+0000) Subject: Can't return 0 from void function... X-Git-Tag: v1.5a3~467 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=296b4751e1dc6b40504e45e795d52594bee720d2;p=python Can't return 0 from void function... --- diff --git a/Python/pythonrun.c b/Python/pythonrun.c index fdfb8c6699..b458d7a37a 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);