From ae3d5d0bc63219809af127cc4bb5bc241d9627bb 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(-) (limited to 'Python/pythonrun.c') 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 * -- cgit v1.2.1