diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-04-24 02:25:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-23 19:25:08 -0400 |
commit | bd2dca035af88694e25fb060f984fbbcda82bed8 (patch) | |
tree | fed7d54ec1154ebc7390967d78c61e911509fae2 /Lib/idlelib/outwin.py | |
parent | 7255bbd4a1841447a21c3eb74e4fd9e21818d833 (diff) | |
download | cpython-bd2dca035af88694e25fb060f984fbbcda82bed8.tar.gz cpython-bd2dca035af88694e25fb060f984fbbcda82bed8.zip |
gh-103668: Run pyugrade on idlelib (#103671)
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/outwin.py')
-rw-r--r-- | Lib/idlelib/outwin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/outwin.py b/Lib/idlelib/outwin.py index 5ab08bbaf4b..ac67c904ab9 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: |