summaryrefslogtreecommitdiffstats
path: root/Parser/Python.asdl
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-04-03 16:42:32 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-04-03 16:42:32 (GMT)
commit45ec3288d0e181334efcaeac7ce6ef44771a2689 (patch)
treea6d36ce2e0931bc869ad0529ad88cef617937ebe /Parser/Python.asdl
parent50ef0f41afd313ed3c433f724e6aaa79d7e55c02 (diff)
downloadcpython-45ec3288d0e181334efcaeac7ce6ef44771a2689.zip
cpython-45ec3288d0e181334efcaeac7ce6ef44771a2689.tar.gz
cpython-45ec3288d0e181334efcaeac7ce6ef44771a2689.tar.bz2
Removed trailing whitespaces in miscalenous files.
Diffstat (limited to 'Parser/Python.asdl')
-rw-r--r--Parser/Python.asdl16
1 files changed, 8 insertions, 8 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index 792cab7..adb55aa 100644
--- a/Parser/Python.asdl
+++ b/Parser/Python.asdl
@@ -9,9 +9,9 @@ module Python
-- not really an actual node but useful in Jython's typesystem.
| Suite(stmt* body)
- stmt = FunctionDef(identifier name, arguments args,
+ stmt = FunctionDef(identifier name, arguments args,
stmt* body, expr* decorator_list, expr? returns)
- | ClassDef(identifier name,
+ | ClassDef(identifier name,
expr* bases,
keyword* keywords,
expr? starargs,
@@ -77,7 +77,7 @@ module Python
| Subscript(expr value, slice slice, expr_context ctx)
| Starred(expr value, expr_context ctx)
| Name(identifier id, expr_context ctx)
- | List(expr* elts, expr_context ctx)
+ | List(expr* elts, expr_context ctx)
| Tuple(expr* elts, expr_context ctx)
-- col_offset is the byte offset in the utf8 string the parser uses
@@ -85,13 +85,13 @@ module Python
expr_context = Load | Store | Del | AugLoad | AugStore | Param
- slice = Slice(expr? lower, expr? upper, expr? step)
- | ExtSlice(slice* dims)
- | Index(expr value)
+ slice = Slice(expr? lower, expr? upper, expr? step)
+ | ExtSlice(slice* dims)
+ | Index(expr value)
- boolop = And | Or
+ boolop = And | Or
- operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift
+ operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift
| RShift | BitOr | BitXor | BitAnd | FloorDiv
unaryop = Invert | Not | UAdd | USub