Skip to content

Commit 7b572df

Browse files
Update for_helpers.py
1 parent 5c33f61 commit 7b572df

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ def sequence_from_generator_preallocate_helper(
248248
builder.add(
249249
LoadLiteral(typ.value, object_rprimitive)
250250
if isinstance(typ, LiteralType)
251-
and isinstance(typ.value, (int, str, bool, float))
252251
else TupleGet(sequence, i, line)
253252
)
254253
for i, typ in enumerate(get_proper_types(proper_type.items))

0 commit comments

Comments
 (0)