Skip to content

Commit

Permalink
Fix isinstance argument
Browse files Browse the repository at this point in the history
  • Loading branch information
A5rocks committed Aug 27, 2024
1 parent 06abecd commit 16d4dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/subtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ def are_parameters_compatible(
isinstance(right_star_inner_type, Instance)
and right_star_inner_type.type.fullname == "builtins.tuple"
and len(right_star_inner_type.args) == 1
and isinstance(right_star_inner_type.args[0], AnyType)
and isinstance(get_proper_type(right_star_inner_type.args[0]), AnyType)
)
else:
trivial_varargs = False
Expand Down

0 comments on commit 16d4dcf

Please sign in to comment.