1
0
forked from VimPlug/jedi

Goto should not include imports that cannot be followed.

This commit is contained in:
Dave Halter
2015-04-23 02:37:22 +02:00
parent 691e5a8969
commit d04241b482
5 changed files with 29 additions and 12 deletions

View File

@@ -775,7 +775,7 @@ class ModuleWrapper(use_metaclass(CachedMetaClass, pr.Module, Wrapper)):
return name
def py__file__(self):
return self._module.path
return os.path.abspath(self._module.path)
def py__package__(self):
if self._get_init_directory() is None: