1
0
forked from VimPlug/jedi

Fix final gradual typing related issues

This commit is contained in:
Dave Halter
2019-08-19 19:43:45 +02:00
parent b19ba12566
commit caee8e9952
3 changed files with 5 additions and 5 deletions

View File

@@ -536,7 +536,7 @@ def get_module_contexts_containing_name(inference_state, module_contexts, name):
m = _load_module_from_path(inference_state, new_file_io, base_names)
if isinstance(m, compiled.CompiledObject):
return None
return m
return m.as_context()
# skip non python modules
used_mod_paths = set()