def check_tuple_assignments(evaluator, types, name):
 for (index, node) in name.assignment_indexes():
  iterated = iterable.py__iter__(evaluator, types, node)
  for _ in range((index + 1)):
   try:
    types = next(iterated)
   except StopIteration:
    types = set()
    break
 return types

def check_tuple_assignments ( evaluator , types , name ) : for ( index , node ) in name . assignment_indexes ( ) : iterated = iterable . py__iter__ ( evaluator , types , node ) for _ in range ( ( index + 1 ) ) : try : types = next ( iterated ) except StopIteration : types = set ( ) break return types
checks if tuples are assigned .