Mercurial > cpython-lru_cache-weakref
diff Parser/Python.asdl @ 58229:c2fdf25329ff legacy-trunk
Issue #2335: Backport set literals syntax from Python 3.x.
| author | Alexandre Vassalotti <alexandre@peadrop.com> |
|---|---|
| date | Sat, 09 Jan 2010 23:35:54 +0000 |
| parents | 40c8c35492f1 |
| children | edfed0e32ced |
line wrap: on
line diff
--- a/Parser/Python.asdl Sat Jan 09 18:50:50 2010 +0000 +++ b/Parser/Python.asdl Sat Jan 09 23:35:54 2010 +0000 @@ -56,6 +56,7 @@ | Lambda(arguments args, expr body) | IfExp(expr test, expr body, expr orelse) | Dict(expr* keys, expr* values) + | Set(expr* elts) | ListComp(expr elt, comprehension* generators) | GeneratorExp(expr elt, comprehension* generators) -- the grammar constrains where yield expressions can occur
