Commit 82ac8d13 authored by Tim Peters's avatar Tim Peters

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.
parent 46376681
......@@ -29,6 +29,7 @@ _synchre = re.compile(r"""
| except
| raise
| import
| yield
)
\b
""", re.VERBOSE | re.MULTILINE).search
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment