]> granicus.if.org Git - python/commitdiff
Hard to believe Guido compiled this! Function lacked a return stmt.
authorTim Peters <tim.peters@gmail.com>
Sun, 27 Aug 2000 20:18:17 +0000 (20:18 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 27 Aug 2000 20:18:17 +0000 (20:18 +0000)
Python/pythonrun.c

index 56b3ba82993733d2beb7dd09417ab032f74cb12f..8f7fc0c90f3b47887512c9e6e9e4b6b319e28094 100644 (file)
@@ -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 *