diff options
| author | Terry Jan Reedy <tjreedy@udel.edu> | 2022-02-03 14:44:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-03 14:44:35 -0500 |
| commit | 916d0d822c79933f4c420f7a36f16f3eb788646b (patch) | |
| tree | 208375f96dc8b151b5492c3b54d8651a4e5e9359 /Lib/idlelib/pyparse.py | |
| parent | 1aa6be06c4cb7f04a340adb1c7b16b89803ef254 (diff) | |
| download | cpython-git-916d0d822c79933f4c420f7a36f16f3eb788646b.tar.gz | |
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/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 a94327533d..8545c63e14 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 |
