Author: Raffael Tfirst <raffael.tfi...@gmail.com>
Branch: py3.5
Changeset: r85383:9430fdd3c85c
Date: 2016-06-26 16:35 +0200
http://bitbucket.org/pypy/pypy/changeset/9430fdd3c85c/

Log:    Changed wrong var name code -> call_type

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
@@ -1201,7 +1201,7 @@
                 call_type |= 2
                 if nsubkwargs > 1:
                     # Pack it all up
-                    function_pos = n + (code & 1) + nkw + 1
+                    function_pos = n + (call_type & 1) + nkw + 1
                     self.emit_op_arg(ops.BUILD_MAP_UNPACK_WITH_CALL, 
(nsubkwargs | (function_pos << 8)))
 
         assert n < 1<<8
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to