commit | 82ac8d13ff4b6470400a4b639fdab398183fdbbc | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Jun 19 00:28:47 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Jun 19 00:28:47 2001 +0000 |
tree | 80876156719bf9596c177307aec9e6aab47ff0ca | |
parent | 463766816c8057eef61562ed5e6e4b4a0bba3240 [diff] |
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.
diff --git a/Tools/idle/PyParse.py b/Tools/idle/PyParse.py index a512356..c8212b2 100644 --- a/Tools/idle/PyParse.py +++ b/Tools/idle/PyParse.py
@@ -29,6 +29,7 @@ | except | raise | import + | yield ) \b """, re.VERBOSE | re.MULTILINE).search