summaryrefslogtreecommitdiffstats
path: root/Parser/Python.asdl
diff options
context:
space:
mode:
Diffstat (limited to 'Parser/Python.asdl')
-rw-r--r--Parser/Python.asdl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index 27f65b4..b62197e 100644
--- a/Parser/Python.asdl
+++ b/Parser/Python.asdl
@@ -63,6 +63,7 @@ module Python version "$Revision$"
expr? starargs, expr? kwargs)
| Num(object n) -- a number as a PyObject.
| Str(string s) -- need to specify raw, unicode, etc?
+ | Ellipsis
-- other literals? bools?
-- the following expression can appear in assignment context
@@ -77,7 +78,7 @@ module Python version "$Revision$"
expr_context = Load | Store | Del | AugLoad | AugStore | Param
- slice = Ellipsis | Slice(expr? lower, expr? upper, expr? step)
+ slice = Slice(expr? lower, expr? upper, expr? step)
| ExtSlice(slice* dims)
| Index(expr value)