mirror of
https://github.com/python/cpython.git
synced 2025-08-10 11:58:39 +00:00
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.
(cherry picked from commit 916d0d822c
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
e8258608c2
commit
cf7cb1a2bf
3 changed files with 4 additions and 4 deletions
|
@ -468,7 +468,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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue