1
0
forked from VimPlug/jedi

don't use SubModule's in the scope list if it has a parent

This commit is contained in:
David Halter
2013-04-17 13:39:02 +04:30
parent 9181410c47
commit d82f315ea6
2 changed files with 5 additions and 0 deletions

View File

@@ -392,6 +392,7 @@ class FastParser(use_metaclass(CachedFastParser)):
p = parsing.Parser(parser_code, self.module_path,
self.user_position, offset=(line_offset, 0),
is_fast_parser=True, top_module=self.module)
p.module.parent = self.module
else:
node = nodes.pop(index)
p = node.parser