Kaydet (Commit) 296b4751 authored tarafından Guido van Rossum's avatar Guido van Rossum

Can't return 0 from void function...

üst c8b6df90
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment