1
0
forked from VimPlug/jedi

Fix an issue for stdlib regex completion. deep_ast_copy had a bug and also changed the way how decorators work.

This commit is contained in:
Dave Halter
2014-12-01 18:09:21 +01:00
parent 2515d283be
commit 235672efc1
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ def deep_ast_copy(obj, new_elements_default=None):
pass
elif key in ['parent_function', 'use_as_parent', '_sub_module']:
continue
elif key == '_names_dict':
elif key == 'names_dict':
d = dict((k, sequence_recursion(v)) for k, v in value.items())
setattr(new_obj, key, d)
elif isinstance(value, (list, tuple)):