summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2016-06-13 03:26:28 (GMT)
committerLarry Hastings <larry@hastings.org>2016-06-13 03:26:28 (GMT)
commit29f963732166260420ffbdebe9eb8b98a009dc8c (patch)
tree17ad6530ee3b66b53647ab70bac08145dcd69783 /Python/compile.c
parent6e9a96be9e24265638df8aa600e566b306a23a2b (diff)
parent1003b34c71d53ccb88ae2768aaba503ae6b5bc16 (diff)
downloadcpython-29f963732166260420ffbdebe9eb8b98a009dc8c.zip
cpython-29f963732166260420ffbdebe9eb8b98a009dc8c.tar.gz
cpython-29f963732166260420ffbdebe9eb8b98a009dc8c.tar.bz2
Merge 3.5.2rc1 with current 3.5 branch.
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 1e720ea..0c4a6c8 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -3262,7 +3262,7 @@ compiler_call_helper(struct compiler *c,
code |= 2;
if (nsubkwargs > 1) {
/* Pack it all up */
- int function_pos = n + (code & 1) + nkw + 1;
+ int function_pos = n + (code & 1) + 2 * nkw + 1;
ADDOP_I(c, BUILD_MAP_UNPACK_WITH_CALL, nsubkwargs | (function_pos << 8));
}
}