mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-14 22:48:55 +08:00
Fix final gradual typing related issues
This commit is contained in:
1 parent
b19ba12566
commit
caee8e9952
3 files changed
+5
-5
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user