diff --git a/Lib/idlelib/PyParse.py b/Lib/idlelib/PyParse.py index a51235620d7..c8212b21436 100644 --- a/Lib/idlelib/PyParse.py +++ b/Lib/idlelib/PyParse.py @@ -29,6 +29,7 @@ _synchre = re.compile(r""" | except | raise | import + | yield ) \b """, re.VERBOSE | re.MULTILINE).search