forked from VimPlug/jedi
Name parents are now Calls (once their statements have generated the Calls).
This makes the goto function more powerful. Also fixes an issue with the deep_ast_copy, that I tried to fix previously, but failed, because I hadn't tested it.
This commit is contained in:
@@ -1323,6 +1323,7 @@ class Call(StatementElement):
|
||||
|
||||
def __init__(self, module, name, start_pos, end_pos, parent=None):
|
||||
super(Call, self).__init__(module, start_pos, end_pos, parent)
|
||||
name.parent = self
|
||||
self.name = name
|
||||
|
||||
def get_code(self):
|
||||
|
||||
Reference in New Issue
Block a user