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.
This commit is contained in:
Terry Jan Reedy 2022-02-03 14:44:35 -05:00 committed by GitHub
parent 1aa6be06c4
commit 916d0d822c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -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: