summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/outwin.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/outwin.py')
-rw-r--r--Lib/idlelib/outwin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/outwin.py b/Lib/idlelib/outwin.py
index 5ab08bb..ac67c90 100644
--- a/Lib/idlelib/outwin.py
+++ b/Lib/idlelib/outwin.py
@@ -42,7 +42,7 @@ def file_line_helper(line):
if match:
filename, lineno = match.group(1, 2)
try:
- f = open(filename, "r")
+ f = open(filename)
f.close()
break
except OSError: