Goto_definitions bug fix -> imports stuff.
This commit is contained in:
1 parent
1bc9ac1c00
commit
53490991d7
3 files changed
+10
-3
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ def get_on_import_stmt(evaluator, user_context, user_stmt, is_like_search=False)
|
||||
"""
|
||||
name = user_stmt.name_for_position(user_context.position)
|
||||
if name is None:
|
||||
raise NotImplementedError
|
||||
return None, None
|
||||
|
||||
i = imports.ImportWrapper(evaluator, name)
|
||||
return i, name
|
||||
|
||||
Reference in new issue
Block a user