mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-10 14:02:27 +08:00
temporary conversion of the imports module to separate import processing from actually importing things
This commit is contained in:
@@ -400,6 +400,7 @@ class Completion(BaseDefinition):
|
||||
if self._definition.isinstance(pr.Statement):
|
||||
defs = self._evaluator.eval_statement(self._definition)
|
||||
elif self._definition.isinstance(pr.Import):
|
||||
print(self._definition)
|
||||
defs = imports.strip_imports(self._evaluator, [self._definition])
|
||||
else:
|
||||
return [self]
|
||||
|
||||
Reference in New Issue
Block a user