Skip to content

Commit d06c60e

Browse files
committed
fix type err
1 parent e6f816a commit d06c60e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/checkexpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5532,7 +5532,7 @@ def infer_lambda_type_using_context(
55325532
# See https://github.com/python/mypy/issues/9927
55335533
return None, None
55345534

5535-
arg_kinds = [arg.kind for arg in e.arguments]
5535+
arg_kinds = ArgKinds(arg.kind for arg in e.arguments)
55365536

55375537
if callable_ctx.is_ellipsis_args or ctx.param_spec() is not None:
55385538
# Fill in Any arguments to match the arguments of the lambda.

0 commit comments

Comments
 (0)