Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e868211

Browse files
committed
Hard to believe Guido compiled this! Function lacked a return stmt.
1 parent e753ef8 commit e868211

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/pythonrun.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ PyObject *
862862
PyRun_File(FILE *fp, char *filename, int start, PyObject *globals,
863863
PyObject *locals)
864864
{
865-
PyRun_FileEx(fp, filename, start, globals, locals, 0);
865+
return PyRun_FileEx(fp, filename, start, globals, locals, 0);
866866
}
867867

868868
PyObject *

0 commit comments

Comments
 (0)