summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 34bca68..8175404 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -317,7 +317,7 @@ Py_UniversalNewlineFgets(char *buf, int n, FILE *stream, PyObject *fobj)
** will cause a pause if we're reading from an
** interactive stream, but that is very unlikely
** unless we're doing something silly like
- ** execfile("/dev/tty").
+ ** exec(open("/dev/tty").read()).
*/
c = GETC(stream);
if ( c != '\n' )