Skip to content

Commit 23d6cb5

Browse files
Update ircheck.py
1 parent 45578b6 commit 23d6cb5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mypyc/analysis/ircheck.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,6 @@ def check_dict_items_valid_literals(self, op: LoadLiteral, d: dict[object, objec
291291
# Acceptable key types: str, bytes, bool, int, float, complex
292292
if not isinstance(k, valid_types):
293293
self.fail(op, f"Invalid type for key of dict literal: {type(k)})")
294-
if isinstance(k, tuple):
295-
self.check_tuple_items_valid_literals(op, k)
296294
# Acceptable value types: str, bytes, bool, int, float, complex
297295
if not isinstance(v, valid_types):
298296
self.fail(op, f"Invalid type for value of dict literal: {type(v)})"))

0 commit comments

Comments
 (0)