code: def _infer_sequence_helper(node, context=None):
      
      values = []
  
      for elt in node.elts:
          if isinstance(elt, nodes.Starred):
              starred = helpers.safe_infer(elt.value, context)
              if not starred:
                  raise exceptions.InferenceError(node=node, context=context)
              if not hasattr(starred, "elts"):
                  raise exceptions.InferenceError(node=node, context=context)
              values.extend(_infer_sequence_helper(starred))
          else:
              values.append(elt)
      return values
docs: Infer all values based on _BaseContainer.elts