Author: Raffael Tfirst <raffael.tfi...@gmail.com> Branch: py3.5-async Changeset: r85550:4b920008b181 Date: 2016-07-04 21:54 +0200 http://bitbucket.org/pypy/pypy/changeset/4b920008b181/
Log: Handle async_funcdef diff --git a/pypy/interpreter/astcompiler/astbuilder.py b/pypy/interpreter/astcompiler/astbuilder.py --- a/pypy/interpreter/astcompiler/astbuilder.py +++ b/pypy/interpreter/astcompiler/astbuilder.py @@ -493,6 +493,9 @@ return ast.FunctionDef(name, args, body, decorators, returns, funcdef_node.get_lineno(), funcdef_node.get_column()) + def handle_async_funcdef(self, node, decorators=None): + return handle_funcdef_impl(c, node.get_child(1), decorators, 1) + def handle_decorated(self, decorated_node): decorators = self.handle_decorators(decorated_node.get_child(0)) definition = decorated_node.get_child(1) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit