mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
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.
This commit is contained in:
parent
463766816c
commit
82ac8d13ff
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ _synchre = re.compile(r"""
|
|||
| except
|
||||
| raise
|
||||
| import
|
||||
| yield
|
||||
)
|
||||
\b
|
||||
""", re.VERBOSE | re.MULTILINE).search
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue