1
0
forked from VimPlug/jedi

Merge branch 'master' into typeshed

There were quite a few conflicts, because there were two rewrites of the path
to dotted function.
This commit is contained in:
Dave Halter
2019-03-01 10:03:17 +01:00
12 changed files with 65 additions and 34 deletions

View File

@@ -522,7 +522,7 @@ def get_modules_containing_name(evaluator, modules, name):
if base_names:
import_names = base_names + (module_name,)
else:
import_names = sys_path.calculate_dotted_path_from_sys_path(e_sys_path, path)
import_names = sys_path.transform_path_to_dotted(e_sys_path, path)
module = _load_module(
evaluator, path, code,