1
0
forked from VimPlug/jedi

Remove old deep_ast_copy code.

This commit is contained in:
Dave Halter
2015-02-12 11:24:17 +01:00
parent bcf6be0636
commit a8d3a9ab42
3 changed files with 17 additions and 57 deletions

View File

@@ -143,7 +143,7 @@ class Comprehension(IterableWrapper):
break
last = last.children[-1]
return helpers.deep_ast_copy(comprehension.children[0], {comprehension: last_comp})
return helpers.deep_ast_copy(comprehension.children[0], parent=last_comp)
def get_exact_index_types(self, index):
return [self._evaluator.eval_element(self.eval_node())[index]]