mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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.
This commit is contained in:
parent
1aa6be06c4
commit
916d0d822c
3 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue