parameters: (evaluator, contextualized_name, context_set)
return_statement: return context_set
docstring: Checks if tuples are assigned.
docstring_summary: Checks if tuples are assigned.
docstring_tokens: Checks if tuples are assigned .
function: def check_tuple_assignments(evaluator, contextualized_name, context_set):
      """
      Checks if tuples are assigned.
      """
      lazy_context = None
      for index, node in contextualized_name.assignment_indexes():
          cn = ContextualizedNode(contextualized_name.context, node)
          iterated = context_set.iterate(cn)
          for _ in range(index + 1):
              try:
                  lazy_context = next(iterated)
              except StopIteration:
                  # We could do this with the default param in next. But this
                  # would allow this loop to run for a very long time if the
                  # index number is high. Therefore break if the loop is
                  # finished.
                  return ContextSet()
          context_set = lazy_context.infer()
      return context_set
function_tokens: def check_tuple_assignments ( evaluator , contextualized_name , context_set ) : lazy_context = None for index , node in contextualized_name . assignment_indexes ( ) : cn = ContextualizedNode ( contextualized_name . context , node ) iterated = context_set . iterate ( cn ) for _ in range ( index + 1 ) : try : lazy_context = next ( iterated ) except StopIteration : # We could do this with the default param in next. But this # would allow this loop to run for a very long time if the # index number is high. Therefore break if the loop is # finished. return ContextSet ( ) context_set = lazy_context . infer ( ) return context_set