os.path handling.
This commit is contained in:
1 parent
ef0958a43c
commit
48d2e99e55
3 files changed
+23
-20
No files matched your search
+1
-1
@@ -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