Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 82ac8d1

Browse files
committed
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.
1 parent 4637668 commit 82ac8d1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Tools/idle/PyParse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def dump(*stuff):
2929
| except
3030
| raise
3131
| import
32+
| yield
3233
)
3334
\b
3435
""", re.VERBOSE | re.MULTILINE).search

0 commit comments

Comments
 (0)