diff Parser/Python.asdl @ 74356:d64ac9ab4cd0

Implement PEP 380 - 'yield from' (closes #11682)
author Nick Coghlan <ncoghlan@gmail.com>
date Fri, 13 Jan 2012 21:43:40 +1000
parents f578ca44193d
children e1177b9167ce
line wrap: on
line diff
--- a/Parser/Python.asdl	Thu Jan 12 21:10:29 2012 -0500
+++ b/Parser/Python.asdl	Fri Jan 13 21:43:40 2012 +1000
@@ -59,7 +59,7 @@
 	     | DictComp(expr key, expr value, comprehension* generators)
 	     | GeneratorExp(expr elt, comprehension* generators)
 	     -- the grammar constrains where yield expressions can occur
-	     | Yield(expr? value)
+	     | Yield(int is_from, expr? value)
 	     -- need sequences for compare to distinguish between
 	     -- x < 4 < 3 and (x < 4) < 3
 	     | Compare(expr left, cmpop* ops, expr* comparators)