mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-05 10:37:38 +08:00
temporary conversion of the imports module to separate import processing from actually importing things
This commit is contained in:
@@ -401,7 +401,7 @@ class Script(object):
|
||||
search_name = unicode(user_scope.name)
|
||||
elif isinstance(user_stmt, pr.Import):
|
||||
s, name_part = helpers.get_on_import_stmt(self._evaluator,
|
||||
self._user_context, user_stmt)
|
||||
self._user_context, user_stmt)
|
||||
try:
|
||||
definitions = [s.follow(is_goto=True)[0]]
|
||||
except IndexError:
|
||||
|
||||
Reference in New Issue
Block a user