summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/idlelib/PyParse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/PyParse.py b/Lib/idlelib/PyParse.py
index a512356..c8212b2 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