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.
1 parent 1880fdd commit f5d203eCopy full SHA for f5d203e
mypy/checkexpr.py
@@ -2486,9 +2486,7 @@ def check_argument_types(
2486
arg_type = get_proper_type(arg_type)
2487
if arg_kind == nodes.ARG_STAR and not self.is_valid_var_arg(arg_type):
2488
self.msg.invalid_var_arg(arg_type, context)
2489
- if arg_kind == nodes.ARG_STAR2 and not self.is_valid_keyword_var_arg(
2490
- arg_type
2491
- ):
+ if arg_kind == nodes.ARG_STAR2 and not self.is_valid_keyword_var_arg(arg_type):
2492
is_mapping = is_subtype(
2493
arg_type, self.chk.named_type("_typeshed.SupportsKeysAndGetItem")
2494
)
0 commit comments