1
0
forked from VimPlug/jedi

Fix builtin import issues

This commit is contained in:
Dave Halter
2019-04-09 21:15:33 +02:00
parent 8c9ac923c6
commit 255d0d9fb5
3 changed files with 44 additions and 3 deletions

View File

@@ -138,6 +138,12 @@ class Evaluator(object):
),
self,
)
# TODO remove this `if`
if project is not None:
# These imports are essential for Jedi and should therefore always
# be present in the module cache.
self.builtins_module
self.typing_module
def import_module(self, import_names, parent_module_context=None,
sys_path=None, load_stub=True):