diff options
author | Yury Selivanov <yury@magic.io> | 2016-09-09 17:36:01 (GMT) |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-09-09 17:36:01 (GMT) |
commit | 52c4e7cc84702750bb75d5423da01d01bcdfdf39 (patch) | |
tree | 01ebfe1725b4169baefa4e76aeaeffcd25153f3b /Grammar | |
parent | 93b2dee80e5d72cf12522d773b512097493c09fc (diff) | |
download | cpython-52c4e7cc84702750bb75d5423da01d01bcdfdf39.zip cpython-52c4e7cc84702750bb75d5423da01d01bcdfdf39.tar.gz cpython-52c4e7cc84702750bb75d5423da01d01bcdfdf39.tar.bz2 |
Issue #28008: Implement PEP 530 -- asynchronous comprehensions.
Diffstat (limited to 'Grammar')
-rw-r--r-- | Grammar/Grammar | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Grammar/Grammar b/Grammar/Grammar index 1478d76..b139e9f 100644 --- a/Grammar/Grammar +++ b/Grammar/Grammar @@ -146,7 +146,7 @@ argument: ( test [comp_for] | '*' test ) comp_iter: comp_for | comp_if -comp_for: 'for' exprlist 'in' or_test [comp_iter] +comp_for: [ASYNC] 'for' exprlist 'in' or_test [comp_iter] comp_if: 'if' test_nocond [comp_iter] # not used in grammar, but may appear in "node" passed from Parser to Compiler |