1
0
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:
Dave Halter
2014-09-06 12:18:40 +02:00
parent 5a3ee02399
commit 2e7e2f0a29
2 changed files with 8 additions and 4 deletions

View File

@@ -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):