Commits

Benjamin Peterson committed cb5461b

fiddle with whitespace

  • Participants
  • Parent commits 56d8b23
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/interpreter/astcompiler/tools/Python.asdl

 -- ASDL's four builtin types are identifier, int, string, object
 
-module Python version "$Revision: 43614 $"
+module Python version "$Revision$"
 {
 	mod = Module(stmt* body)
 	    | Interactive(stmt* body)
 	    -- not really an actual node but useful in Jython's typesystem.
 	    | Suite(stmt* body)
 
-	stmt = FunctionDef(identifier name, arguments args,
-                            stmt* body, expr* decorator_list, expr? returns)
+	stmt = FunctionDef(identifier name, arguments args, 
+                           stmt* body, expr* decorator_list, expr? returns)
 	      | ClassDef(identifier name, 
 			 expr* bases,
 			 keyword* keywords,
 			 expr? starargs, expr? kwargs)
 	     | Num(object n) -- a number as a PyObject.
 	     | Str(string s) -- need to specify raw, unicode, etc?
-             | Bytes(string s)
-             | Ellipsis
+	     | Bytes(string s)
+	     | Ellipsis
 	     -- other literals? bools?
 
 	     -- the following expression can appear in assignment context
 	     | List(expr* elts, expr_context ctx) 
 	     | Tuple(expr* elts, expr_context ctx)
 
-             -- PyPy modification
-             | Const(object value)
+              -- PyPy modification
+              | Const(object value)
 
 	      -- col_offset is the byte offset in the utf8 string the parser uses
 	      attributes (int lineno, int col_offset)
 	excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)
 	                attributes (int lineno, int col_offset)
 
-        arguments = (arg* args, identifier? vararg, expr? varargannotation,
+	arguments = (arg* args, identifier? vararg, expr? varargannotation,
                      arg* kwonlyargs, identifier? kwarg,
                      expr? kwargannotation, expr* defaults,
                      expr* kw_defaults)
-        arg = (identifier arg, expr? annotation)
+	arg = (identifier arg, expr? annotation)
 
         -- keyword arguments supplied to call
         keyword = (identifier arg, expr value)