diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2010-01-09 23:35:54 +0000 |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2010-01-09 23:35:54 +0000 |
commit | 15d9212416efb7d7bebe46a3755d9e8083fdf4b3 (patch) | |
tree | 675a64d1e4fa138595da5162a6021ea46f9a5dd4 /Parser | |
parent | bedd9e674de2a94886bf19713806ecb3b4a2bf9f (diff) | |
download | cpython-15d9212416efb7d7bebe46a3755d9e8083fdf4b3.tar.gz |
Issue #2335: Backport set literals syntax from Python 3.x.
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/Python.asdl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl index f791709757..ee6e999de4 100644 --- a/Parser/Python.asdl +++ b/Parser/Python.asdl @@ -56,6 +56,7 @@ module Python version "$Revision$" | 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 |