summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-08-27 20:18:17 +0000
committerTim Peters <tim.peters@gmail.com>2000-08-27 20:18:17 +0000
commitae3d5d0bc63219809af127cc4bb5bc241d9627bb (patch)
tree7d8f6db1fca538d8538622495ab172164b89f9b2 /Python/pythonrun.c
parent70c1c1205e96df69086961b529327d9446c35772 (diff)
downloadcpython-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.c2
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 *