1
0
forked from VimPlug/jedi

many bugfixes related to fast_parser

This commit is contained in:
David Halter
2012-12-15 16:38:21 +01:00
parent b8b4a02398
commit 2b579eb09b
8 changed files with 95 additions and 52 deletions

View File

@@ -166,7 +166,7 @@ def fast_parent_copy(obj):
setattr(new_obj, key, new_elements[value])
except KeyError:
pass
elif key in ['parent_stmt', 'parent_function']:
elif key in ['parent_stmt', 'parent_function', 'set_parent']:
continue
elif isinstance(value, list):
setattr(new_obj, key, list_rec(value))