@classmethod<EOL><INDENT>def from_elements(cls, elts=None):<DEDENT>
node = cls()<EOL>if elts is None:<EOL><INDENT>node.elts = []<EOL><DEDENT>else:<EOL><INDENT>node.elts = [const_factory(e) if _is_const(e) else e for e in elts]<EOL><DEDENT>return node<EOL>
Create a node of this type from the given list of elements.

        :param elts: The list of elements that the node should contain.
        :type elts: list(NodeNG)

        :returns: A new node containing the given elements.
        :rtype: NodeNG