Author: Raffael Tfirst <[email protected]>
Branch: py3.5
Changeset: r85379:0b9ea720dd07
Date: 2016-06-25 20:04 +0200
http://bitbucket.org/pypy/pypy/changeset/0b9ea720dd07/

Log:    use 6 parameters for ast.arguments in lambdef

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
@@ -844,7 +844,7 @@
     def handle_lambdef(self, lambdef_node):
         expr = self.handle_expr(lambdef_node.get_child(-1))
         if lambdef_node.num_children() == 3:
-            args = ast.arguments(None, None, None, None, None, None, None, 
None)
+            args = ast.arguments(None, None, None, None, None, None)
         else:
             args = self.handle_arguments(lambdef_node.get_child(1))
         return ast.Lambda(args, expr, lambdef_node.get_lineno(), 
lambdef_node.get_column())
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to