forked from VimPlug/jedi
Temporarily disable on import completion. Not sure if we're going to do it with the normal parser.
This commit is contained in:
@@ -38,7 +38,7 @@ class ModuleNotFound(Exception):
|
||||
self.name_part = name_part
|
||||
|
||||
|
||||
class ImportWrapper():
|
||||
class ImportWrapper(pr.Base):
|
||||
GlobalNamespace = 'TODO PLEASE DELETE ME'
|
||||
def __init__(self, evaluator, name):
|
||||
self._evaluator = evaluator
|
||||
@@ -48,6 +48,10 @@ class ImportWrapper():
|
||||
self.import_path = self._import.path_for_name(name)
|
||||
self.is_like_search = False # TODO REMOVE
|
||||
|
||||
def get_defined_names(self, on_import_stmt=False):
|
||||
# TODO not sure if this method is actually necessary.
|
||||
return []
|
||||
|
||||
@memoize_default()
|
||||
def follow(self, is_goto=False):
|
||||
if self._evaluator.recursion_detector.push_stmt(self._import):
|
||||
|
||||
Reference in New Issue
Block a user