Skip to content

Commit b5dcffc

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8d45132 commit b5dcffc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

mypyc/irbuild/for_helpers.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,10 @@ def sequence_from_generator_preallocate_helper(
257257

258258
get_item_ops: list[LoadLiteral | TupleGet]
259259
if all(isinstance(typ, LiteralType) for typ in proper_types):
260-
get_item_ops = [LoadLiteral(cast(LiteralType, typ.value), object_rprimitive) for typ in proper_types]
260+
get_item_ops = [
261+
LoadLiteral(cast(LiteralType, typ.value), object_rprimitive)
262+
for typ in proper_types
263+
]
261264

262265
else:
263266
sequence = builder.accept(sequence_expr)

0 commit comments

Comments
 (0)