1
0
forked from VimPlug/jedi

fixed assignment_detail parsing if tuples were used before =

This commit is contained in:
David Halter
2013-02-08 17:58:27 +01:00
parent 70f07320aa
commit bd393883b6
2 changed files with 36 additions and 21 deletions

View File

@@ -546,6 +546,7 @@ def follow_statement(stmt, seek_name=None):
# Assignment checking is only important if the statement defines multiple
# variables.
print(seek_name, stmt, stmt.assignment_details)
if len(stmt.get_set_vars()) > 1 and seek_name and stmt.assignment_details:
new_result = []
for op, set_vars in stmt.assignment_details: