Author: Raffael Tfirst <[email protected]>
Branch: py3.5
Changeset: r85381:67f158f6b513
Date: 2016-06-26 14:49 +0200
http://bitbucket.org/pypy/pypy/changeset/67f158f6b513/

Log:    Fix stackdeptherror by changing nsubargs -> nsubkwargs

diff --git a/pypy/interpreter/astcompiler/codegen.py 
b/pypy/interpreter/astcompiler/codegen.py
--- a/pypy/interpreter/astcompiler/codegen.py
+++ b/pypy/interpreter/astcompiler/codegen.py
@@ -1197,7 +1197,7 @@
                 # Pack up any trailing keyword arguments.
                 self.emit_op_arg(ops.BUILD_MAP,nseen)
                 nsubkwargs += 1
-            if nsubargs:
+            if nsubkwargs:
                 call_type |= 2
                 if nsubkwargs > 1:
                     # Pack it all up
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to