code: def from_elements(cls, elts=None):
          
          node = cls()
          if elts is None:
              node.elts = []
          else:
              node.elts = [const_factory(e) if _is_const(e) else e for e in elts]
          return node
docs: 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