1
0
forked from VimPlug/jedi

removed duplicate fast_parent_copy method, now its used for Calls and Scopes

This commit is contained in:
David Halter
2012-08-23 14:53:21 +02:00
parent e28d7f0cdf
commit 4b784263ae
2 changed files with 4 additions and 37 deletions

View File

@@ -663,7 +663,7 @@ class Execution(Executable):
for element in attr:
temp, element.parent = element.parent, None
#copied = copy.deepcopy(element)
copied = helpers.fast_parent_copy2(element)
copied = helpers.fast_parent_copy(element)
element.parent = temp
copied.parent = weakref.ref(self)
if isinstance(copied, parsing.Function):