We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7cf5a7d + dbaebcc commit b663a4dCopy full SHA for b663a4d
mypyc/irbuild/for_helpers.py
@@ -171,7 +171,7 @@ def for_loop_helper_with_index(
171
body_insts: a function that generates the body of the loop.
172
It needs a index as parameter.
173
"""
174
- assert is_sequence_rprimitive(expr_reg.type) or isinstance(expr_reg.type, RTuple)
+ assert is_sequence_rprimitive(expr_reg.type)
175
target_type = builder.get_sequence_type(expr)
176
177
body_block = BasicBlock()
0 commit comments