Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 296b475

Browse files
committed
Can't return 0 from void function...
1 parent c8b6df9 commit 296b475

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/pythonrun.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ PyErr_Print()
329329
PyObject *exception, *v, *tb, *f;
330330
PyErr_Fetch(&exception, &v, &tb);
331331
if (exception == NULL)
332-
return 0;
332+
return;
333333
if (exception == PyExc_SystemExit) {
334334
err = Py_FlushLine();
335335
fflush(stdout);

0 commit comments

Comments
 (0)