Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
[opcode] fix InnerError
Browse files Browse the repository at this point in the history
  • Loading branch information
gouzil committed Jun 3, 2023
1 parent 8fdd415 commit fbff686
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ def DICT_MERGE(self, instr):
assert instr.argval > 0
for key in dict_value.get_wrapped_items().keys():
result = self._stack[-instr.arg].get_wrapped_items().get(key, None)
if result is None:
if result is not None:
raise InnerError(
f"got multiple values for keyword argument '{key}'"
)
Expand Down

0 comments on commit fbff686

Please sign in to comment.