Fix some mostly iterable related stuff.
This commit is contained in:
1 parent
75e412dbc5
commit
8fd08c86b7
6 files changed
+22
-37
No files matched your search
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user