summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/run.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2022-02-03 19:44:35 (GMT)
committerGitHub <noreply@github.com>2022-02-03 19:44:35 (GMT)
commit916d0d822c79933f4c420f7a36f16f3eb788646b (patch)
tree208375f96dc8b151b5492c3b54d8651a4e5e9359 /Lib/idlelib/run.py
parent1aa6be06c4cb7f04a340adb1c7b16b89803ef254 (diff)
downloadcpython-916d0d822c79933f4c420f7a36f16f3eb788646b.zip
cpython-916d0d822c79933f4c420f7a36f16f3eb788646b.tar.gz
cpython-916d0d822c79933f4c420f7a36f16f3eb788646b.tar.bz2
bpo-45975: IDLE - Remove extraneous parens (GH-31107)
mistakenly included in 3 files in previous PR and backported both to 3.10 and 3.9.
Diffstat (limited to 'Lib/idlelib/run.py')
-rw-r--r--Lib/idlelib/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py
index 01f8d65..aaa9b5c 100644
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -482,7 +482,7 @@ class StdInputFile(StdioFile):
result = self._line_buffer
self._line_buffer = ''
if size < 0:
- while (line := self.shell.readline()):
+ while line := self.shell.readline():
result += line
else:
while len(result) < size: