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 0ef2871 commit 8574ee2Copy full SHA for 8574ee2
mypy/fastparse.py
@@ -1634,9 +1634,11 @@ def visit_Call(self, n: Call) -> CallExpr:
1634
arg_types = self.translate_expr_list(
1635
[a.value if isinstance(a, Starred) else a for a in args] + [k.value for k in keywords]
1636
)
1637
- arg_kinds = [ARG_STAR if type(a) is Starred else ARG_POS for a in args] + [
+ arg_kinds = ArgKinds(
1638
+ [ARG_STAR if type(a) is Starred else ARG_POS for a in args] + [
1639
ARG_STAR2 if arg is None else ARG_NAMED for arg in keyword_names
1640
]
1641
+ )
1642
e = CallExpr(
1643
self.visit(n.func),
1644
arg_types,
0 commit comments