forked from VimPlug/jedi
os.path handling.
This commit is contained in:
@@ -39,7 +39,7 @@ def check_error_statements(module, pos):
|
||||
if error_statement.first_type in ('import_from', 'import_name') \
|
||||
and error_statement.first_pos < pos <= error_statement.next_start_pos:
|
||||
return importer_from_error_statement(error_statement, pos)
|
||||
return [], 0, False
|
||||
return None, 0, False
|
||||
|
||||
|
||||
def importer_from_error_statement(error_statement, pos):
|
||||
|
||||
Reference in New Issue
Block a user