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 e6f816a commit d06c60eCopy full SHA for d06c60e
mypy/checkexpr.py
@@ -5532,7 +5532,7 @@ def infer_lambda_type_using_context(
5532
# See https://github.com/python/mypy/issues/9927
5533
return None, None
5534
5535
- arg_kinds = [arg.kind for arg in e.arguments]
+ arg_kinds = ArgKinds(arg.kind for arg in e.arguments)
5536
5537
if callable_ctx.is_ellipsis_args or ctx.param_spec() is not None:
5538
# Fill in Any arguments to match the arguments of the lambda.
0 commit comments