diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-08-27 20:18:17 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-08-27 20:18:17 +0000 |
commit | ae3d5d0bc63219809af127cc4bb5bc241d9627bb (patch) | |
tree | 7d8f6db1fca538d8538622495ab172164b89f9b2 /Python/pythonrun.c | |
parent | 70c1c1205e96df69086961b529327d9446c35772 (diff) | |
download | cpython-ae3d5d0bc63219809af127cc4bb5bc241d9627bb.tar.gz |
Hard to believe Guido compiled this! Function lacked a return stmt.
Diffstat (limited to 'Python/pythonrun.c')
-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 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 * |