1
0
forked from VimPlug/jedi

Refactor py__get__ support pretty heavily

This commit is contained in:
Dave Halter
2018-11-01 19:09:07 +01:00
parent 52aa5b6764
commit fbc327b960
7 changed files with 38 additions and 37 deletions

View File

@@ -404,7 +404,7 @@ def import_module(evaluator, import_names, parent_module_context, sys_path):
import_names=import_names,
sys_path=sys_path,
)
return ContextSet(module)
return ContextSet([module])
module_name = '.'.join(import_names)
if parent_module_context is None: