diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-02-03 20:44:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 20:44:11 (GMT) |
commit | 63523e7b2a631f28134b25a8063d50e08c741db6 (patch) | |
tree | 75be0e3279d412d5b8ee90440453669257ca3137 /Lib/idlelib/pyparse.py | |
parent | ff6948b1286c854ee77dfc0b23b9d828b36873e4 (diff) | |
download | cpython-63523e7b2a631f28134b25a8063d50e08c741db6.zip cpython-63523e7b2a631f28134b25a8063d50e08c741db6.tar.gz cpython-63523e7b2a631f28134b25a8063d50e08c741db6.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.
(cherry picked from commit 916d0d822c79933f4c420f7a36f16f3eb788646b)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/pyparse.py')
-rw-r--r-- | Lib/idlelib/pyparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/pyparse.py b/Lib/idlelib/pyparse.py index a943275..8545c63 100644 --- a/Lib/idlelib/pyparse.py +++ b/Lib/idlelib/pyparse.py @@ -179,7 +179,7 @@ class Parser: # Peeking back worked; look forward until _synchre no longer # matches. i = pos + 1 - while (m := _synchre(code, i)): + while m := _synchre(code, i): s, i = m.span() if not is_char_in_string(s): pos = s |