summaryrefslogtreecommitdiff
path: root/astroid/protocols.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/protocols.py')
-rw-r--r--astroid/protocols.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/protocols.py b/astroid/protocols.py
index 33d90ea3..6179ab34 100644
--- a/astroid/protocols.py
+++ b/astroid/protocols.py
@@ -367,7 +367,7 @@ def arguments_assigned_stmts(self, node=None, context=None, assign_path=None):
callcontext = context.callcontext
context = contextmod.copy_context(context)
context.callcontext = None
- args = arguments.CallSite(callcontext)
+ args = arguments.CallSite(callcontext, context=context)
return args.infer_argument(self.parent, node.name, context)
return _arguments_infer_argname(self, node.name, context)