diff options
Diffstat (limited to 'Python/codegen.c')
-rw-r--r-- | Python/codegen.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Python/codegen.c b/Python/codegen.c index 61707ba..df3b5aa 100644 --- a/Python/codegen.c +++ b/Python/codegen.c @@ -4108,7 +4108,10 @@ ex_call: } assert(have_dict); } - ADDOP_I(c, loc, CALL_FUNCTION_EX, nkwelts > 0); + if (nkwelts == 0) { + ADDOP(c, loc, PUSH_NULL); + } + ADDOP(c, loc, CALL_FUNCTION_EX); return SUCCESS; } |