py-cvs-2001_07_13 (Rel 1.9) merge
"Taught IDLE's autoident parser that "yield" is a keyword that begins a
stmt. Along w/ the preceding change to keyword.py, making all this
work w/ a future-stmt just looks harder and harder." --tim_one
(From Rel 1.8: "Hack to make this still work with Python 1.5.2. ;-( "
--fdrake)
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 @@
| except
| raise
| import
+ | yield
)
\b
""", re.VERBOSE | re.MULTILINE).search