From e868211e106d4da348925e1c1bd1ea62b3560721 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sun, 27 Aug 2000 20:18:17 +0000 Subject: Hard to believe Guido compiled this! Function lacked a return stmt. --- Python/pythonrun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 56b3ba8..8f7fc0c 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 * -- cgit v0.12