def buildSequenceCreationNode(provider, node, source_ref):
    if python_version >= 300:
        for element in node.elts:
            if getKind(element) == "Starred":
                if python_version < 350:
                    SyntaxErrors.raiseSyntaxError(
                        reason     = """\
can use starred expression only as assignment target""",
                        source_ref = source_ref,
                        col_offset = element.col_offset
                    )
                else:
                    return _buildSequenceUnpacking(
                        provider   = provider,
                        node       = node,
                        source_ref = source_ref
                    )

    return makeSequenceCreationOrConstant(
        sequence_kind = getKind(node).upper(),
        elements      = buildNodeList(provider, node.elts, source_ref),
        source_ref    = source_ref
    )
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/tree/ReformulationSequenceCreation.py/buildSequenceCreationNode/original