summaryrefslogtreecommitdiff
path: root/astroid/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/context.py')
-rw-r--r--astroid/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/context.py b/astroid/context.py
index 931bbf5e..2cd724fd 100644
--- a/astroid/context.py
+++ b/astroid/context.py
@@ -99,7 +99,7 @@ class InferenceContext:
starts with the same context but diverge as each side is inferred
so the InferenceContext will need be cloned"""
# XXX copy lookupname/callcontext ?
- clone = InferenceContext(set(self.path), inferred=self.inferred)
+ clone = InferenceContext(self.path, inferred=self.inferred)
clone.callcontext = self.callcontext
clone.boundnode = self.boundnode
clone.extra_context = self.extra_context