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)
This commit is contained in:
Kurt B. Kaiser 2001-07-14 04:59:24 +00:00
parent 8bf5b2027a
commit 752e4d5531
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ _synchre = re.compile(r"""
| except
| raise
| import
| yield
)
\b
""", re.VERBOSE | re.MULTILINE).search