Author: Raffael Tfirst <raffael.tfi...@gmail.com> Branch: py3.5-async Changeset: r85551:288c22e89431 Date: 2016-07-04 22:00 +0200 http://bitbucket.org/pypy/pypy/changeset/288c22e89431/
Log: Restore function lost because of rename (handle_funcdef without async) 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 @@ -494,7 +494,10 @@ 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) + return handle_funcdef_impl(node.get_child(1), decorators, 1) + + def handle_funcdef(self, node, decorators=None): + return handle_funcdef_impl(node, decorators, 0) def handle_decorated(self, decorated_node): decorators = self.handle_decorators(decorated_node.get_child(0)) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit