Mercurial > cpython-lru_cache-weakref
diff Parser/Python.asdl @ 80589:ffb2fa900cb7 3.3
Issue #16546: make ast.YieldFrom argument mandatory.
| author | Mark Dickinson <mdickinson@enthought.com> |
|---|---|
| date | Sun, 25 Nov 2012 14:36:26 +0000 |
| parents | 62545104f9c0 |
| children | 03f92a9f0875 |
line wrap: on
line diff
--- a/Parser/Python.asdl Sat Nov 24 20:41:34 2012 +0100 +++ b/Parser/Python.asdl Sun Nov 25 14:36:26 2012 +0000 @@ -60,7 +60,7 @@ | 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)
