summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-06-19 00:28:47 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-06-19 00:28:47 (GMT)
commit82ac8d13ff4b6470400a4b639fdab398183fdbbc (patch)
tree80876156719bf9596c177307aec9e6aab47ff0ca /Tools
parent463766816c8057eef61562ed5e6e4b4a0bba3240 (diff)
downloadcpython-82ac8d13ff4b6470400a4b639fdab398183fdbbc.zip
cpython-82ac8d13ff4b6470400a4b639fdab398183fdbbc.tar.gz
cpython-82ac8d13ff4b6470400a4b639fdab398183fdbbc.tar.bz2
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.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/idle/PyParse.py1
1 files changed, 1 insertions, 0 deletions
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 @@ _synchre = re.compile(r"""
| except
| raise
| import
+ | yield
)
\b
""", re.VERBOSE | re.MULTILINE).search