Skip to content

Commit 8a3a1b2

Browse files
Update specialize.py
1 parent 3ea6d17 commit 8a3a1b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/specialize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ def translate_isinstance(builder: IRBuilder, expr: CallExpr, callee: RefExpr) ->
633633
is_last = i == len(descs) - 1
634634
next_block = fail_block if is_last else BasicBlock()
635635
builder.add_bool_branch(
636-
builder.primitive_op(desc, [obj], expr.line), pass_block, next_block
636+
builder.primitive_op(desc, [obj], expr.line), pass_block, next_block # type: ignore [arg-type]
637637
)
638638
if not is_last:
639639
builder.activate_block(next_block)

0 commit comments

Comments
 (0)