Can't return 0 from void function...

This commit is contained in:
Guido van Rossum 1997-05-23 00:19:20 +00:00
parent c8b6df9004
commit 296b4751e1
1 changed files with 1 additions and 1 deletions

View File

@ -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);