Author: Benjamin Peterson <benja...@python.org> Branch: py3k Changeset: r53642:cb5461bfe590 Date: 2012-03-14 21:38 -0500 http://bitbucket.org/pypy/pypy/changeset/cb5461bfe590/
Log: fiddle with whitespace diff --git a/pypy/interpreter/astcompiler/tools/Python.asdl b/pypy/interpreter/astcompiler/tools/Python.asdl --- a/pypy/interpreter/astcompiler/tools/Python.asdl +++ b/pypy/interpreter/astcompiler/tools/Python.asdl @@ -1,6 +1,6 @@ -- 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) @@ -9,8 +9,8 @@ -- 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, @@ -68,8 +68,8 @@ 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 @@ -80,8 +80,8 @@ | 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) @@ -107,11 +107,11 @@ 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) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit