1
0
forked from VimPlug/jedi

Get some sys completions working

This commit is contained in:
Dave Halter
2018-08-09 10:52:33 +02:00
parent facbf61133
commit aa8e2c7173
2 changed files with 7 additions and 3 deletions

View File

@@ -123,9 +123,7 @@ class TypeshedPlugin(BasePlugin):
context_set = callback(
evaluator,
import_names,
parent_module_context.actual_context # noqa
if isinstance(parent_module_context, StubModuleContext)
else parent_module_context,
parent_module_context,
sys_path
)
# Don't use CompiledObjects, they are just annoying and don't