From: Tim Peters Date: Sun, 27 Aug 2000 20:18:17 +0000 (+0000) Subject: Hard to believe Guido compiled this! Function lacked a return stmt. X-Git-Tag: v2.0b1~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e868211e106d4da348925e1c1bd1ea62b3560721;p=python Hard to believe Guido compiled this! Function lacked a return stmt. --- diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 56b3ba8299..8f7fc0c90f 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -862,7 +862,7 @@ PyObject * PyRun_File(FILE *fp, char *filename, int start, PyObject *globals, PyObject *locals) { - PyRun_FileEx(fp, filename, start, globals, locals, 0); + return PyRun_FileEx(fp, filename, start, globals, locals, 0); } PyObject *