summaryrefslogtreecommitdiff
path: root/astroid/protocols.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/protocols.py')
-rw-r--r--astroid/protocols.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/astroid/protocols.py b/astroid/protocols.py
index 7b8834e5..0776f146 100644
--- a/astroid/protocols.py
+++ b/astroid/protocols.py
@@ -337,8 +337,7 @@ def _arguments_infer_argname(self, name, context):
if context and context.callcontext:
call_site = arguments.CallSite(context.callcontext, context.extra_context)
- for value in call_site.infer_argument(self.parent, name, context):
- yield value
+ yield from call_site.infer_argument(self.parent, name, context)
return
if name == self.vararg: