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