diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-08-27 20:18:17 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-08-27 20:18:17 (GMT) |
commit | e868211e106d4da348925e1c1bd1ea62b3560721 (patch) | |
tree | 7f9cf88aeca9eaebbb2312c1f4900c2228369585 /Python | |
parent | e753ef8d1bd8df8df7b74ca99de3341b204f2277 (diff) | |
download | cpython-e868211e106d4da348925e1c1bd1ea62b3560721.zip cpython-e868211e106d4da348925e1c1bd1ea62b3560721.tar.gz cpython-e868211e106d4da348925e1c1bd1ea62b3560721.tar.bz2 |
Hard to believe Guido compiled this! Function lacked a return stmt.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pythonrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 * |