1
0
forked from VimPlug/jedi

Fix some mostly iterable related stuff.

This commit is contained in:
Dave Halter
2016-11-24 21:06:55 +01:00
parent 75e412dbc5
commit 8fd08c86b7
6 changed files with 22 additions and 37 deletions

View File

@@ -148,7 +148,7 @@ class Evaluator(object):
types = finder.check_tuple_assignments(self, types, seek_name)
first_operation = stmt.first_operation()
if first_operation not in ('=', None) and not isinstance(stmt, er.InstanceElement): # TODO don't check for this.
if first_operation not in ('=', None):
# `=` is always the last character in aug assignments -> -1
operator = copy.copy(first_operation)
operator.value = operator.value[:-1]