Skip to content

Commit 0ef2871

Browse files
Update nodes.py
1 parent f1671ce commit 0ef2871

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypy/nodes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2288,6 +2288,7 @@ def __init__(
22882288

22892289
self.callee = callee
22902290
self.args = args
2291+
assert isinstance(arg_kinds, ArgKinds), type(arg_kinds)
22912292
self.arg_kinds = arg_kinds # ARG_ constants
22922293
# Each name can be None if not a keyword argument.
22932294
self.arg_names: list[str | None] = arg_names

0 commit comments

Comments
 (0)