1
0
forked from VimPlug/jedi

use weakrefs for parents now: rest

This commit is contained in:
David Halter
2012-08-12 01:42:37 +02:00
parent a2611c5db6
commit 3ae7d3f278
4 changed files with 8 additions and 9 deletions

View File

@@ -61,7 +61,7 @@ class ImportPath(object):
zero = (None, None)
n = parsing.Name(i.namespace.names[1:], zero, zero)
new = parsing.Import(zero, zero, n)
new.parent = parent
new.parent = lambda: parent
debug.dbg('Generated a nested import: %s' % new)
return new