summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-08-27 20:18:17 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-08-27 20:18:17 (GMT)
commite868211e106d4da348925e1c1bd1ea62b3560721 (patch)
tree7f9cf88aeca9eaebbb2312c1f4900c2228369585 /Python/pythonrun.c
parente753ef8d1bd8df8df7b74ca99de3341b204f2277 (diff)
downloadcpython-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/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
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 *