diff options
author | Yury Selivanov <yury@magic.io> | 2016-09-09 10:36:01 -0700 |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-09-09 10:36:01 -0700 |
commit | b26bd4a4bf3de9dbedbbbd1209fea77cd7af7689 (patch) | |
tree | 0d6ec6c36cdcab40f7ce6d6b12b81aa22f319e0a /Grammar | |
parent | 4b988b10a7941afcac8cb0e5f31c7aad5157592e (diff) | |
download | cpython-b26bd4a4bf3de9dbedbbbd1209fea77cd7af7689.tar.gz |
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 1478d768b7..b139e9f66c 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 |