diff options
Diffstat (limited to 'astroid/arguments.py')
-rw-r--r-- | astroid/arguments.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/arguments.py b/astroid/arguments.py index f81ccbd6..ba463981 100644 --- a/astroid/arguments.py +++ b/astroid/arguments.py @@ -162,7 +162,7 @@ class CallSite(object): positional = self.positional_arguments[:len(funcnode.args.args)] vararg = self.positional_arguments[len(funcnode.args.args):] argindex = funcnode.args.find_argname(name)[0] - kwonlyargs = set(arg.name for arg in funcnode.args.kwonlyargs) + kwonlyargs = {arg.name for arg in funcnode.args.kwonlyargs} kwargs = { key: value for key, value in self.keyword_arguments.items() if key not in kwonlyargs |