1
0
forked from VimPlug/jedi

Fix some more package issues

This commit is contained in:
Dave Halter
2019-12-01 20:42:55 +01:00
parent 7b6405f76c
commit 76e0e6a8c5
3 changed files with 5 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ class SubModuleDictMixin(object):
mods = iter_module_names(self.inference_state, self.py__path__())
for name in mods:
# It's obviously a relative import to the current module.
names[name] = SubModuleName(self, name)
names[name] = SubModuleName(self.as_context(), name)
# In the case of an import like `from x.` we don't need to
# add all the variables, this is only about submodules.