Skip to content

Commit 16d4dcf

Browse files
committed
Fix isinstance argument
1 parent 06abecd commit 16d4dcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypy/subtypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,7 @@ def are_parameters_compatible(
16101610
isinstance(right_star_inner_type, Instance)
16111611
and right_star_inner_type.type.fullname == "builtins.tuple"
16121612
and len(right_star_inner_type.args) == 1
1613-
and isinstance(right_star_inner_type.args[0], AnyType)
1613+
and isinstance(get_proper_type(right_star_inner_type.args[0]), AnyType)
16141614
)
16151615
else:
16161616
trivial_varargs = False

0 commit comments

Comments
 (0)