1
0
forked from VimPlug/jedi

restructure NameFinder.filter_name a little bit

This commit is contained in:
Dave Halter
2014-03-10 15:57:01 +01:00
parent 4e314409c1
commit 62a14f7558
5 changed files with 24 additions and 19 deletions

View File

@@ -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