summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2012-11-25 14:36:26 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2012-11-25 14:36:26 (GMT)
commitded35aeb9d5ae1671174f10c0ae8a7166693b17c (patch)
tree4caa61589581de32b38d3da8ee8bd68e553094bf /Parser
parent9982c53c2feb6e6e03c4c6d87d77c6ee69bfc435 (diff)
downloadcpython-ded35aeb9d5ae1671174f10c0ae8a7166693b17c.zip
cpython-ded35aeb9d5ae1671174f10c0ae8a7166693b17c.tar.gz
cpython-ded35aeb9d5ae1671174f10c0ae8a7166693b17c.tar.bz2
Issue #16546: make ast.YieldFrom argument mandatory.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/Python.asdl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index 6b06dec..c24d840 100644
--- a/Parser/Python.asdl
+++ b/Parser/Python.asdl
@@ -60,7 +60,7 @@ module Python
| GeneratorExp(expr elt, comprehension* generators)
-- the grammar constrains where yield expressions can occur
| Yield(expr? value)
- | YieldFrom(expr? value)
+ | YieldFrom(expr value)
-- need sequences for compare to distinguish between
-- x < 4 < 3 and (x < 4) < 3
| Compare(expr left, cmpop* ops, expr* comparators)