Mercurial > cpython-lru_cache-weakref
diff Parser/Python.asdl @ 39783:7a0ad110e91e
Patch #1550786: ellipsis literal.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Wed, 06 Sep 2006 07:06:08 +0000 |
| parents | c94f37054f19 |
| children | 1cce0526d9b0 |
line wrap: on
line diff
--- a/Parser/Python.asdl Wed Sep 06 06:51:57 2006 +0000 +++ b/Parser/Python.asdl Wed Sep 06 07:06:08 2006 +0000 @@ -63,6 +63,7 @@ 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 @@ 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)
