forked from VimPlug/jedi
restructure NameFinder.filter_name a little bit
This commit is contained in:
@@ -125,7 +125,9 @@ class Evaluator(object):
|
||||
result = self.eval_expression_list(expression_list)
|
||||
|
||||
ass_details = stmt.assignment_details
|
||||
if ass_details and ass_details[0][1] != '=' and False:
|
||||
if ass_details and ass_details[0][1] != '=' and not isinstance(stmt,
|
||||
er.InstanceElement) and False: # TODO don't check for this.
|
||||
print('LEFT', ass_details, stmt, stmt.parent)
|
||||
expr_list, operator = ass_details[0]
|
||||
name = str(expr_list[0].name)
|
||||
start_pos = stmt.start_pos[0] - 1, stmt.start_pos[1] + 30000
|
||||
|
||||
Reference in New Issue
Block a user