aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 4a587c00fd4..fccc688affc 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -4321,6 +4321,9 @@ ex_call:
if (!compiler_subkwargs(c, keywords, i - nseen, i)) {
return 0;
}
+ if (have_dict) {
+ ADDOP_I(c, DICT_MERGE, 1);
+ }
have_dict = 1;
nseen = 0;
}