From 916d0d822c79933f4c420f7a36f16f3eb788646b Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Thu, 3 Feb 2022 14:44:35 -0500 Subject: 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. --- Lib/idlelib/pyparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/idlelib/pyparse.py') 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 -- cgit v1.2.1