set_children(item, *newchildren)
Replaces item‘s child with newchildren.
Children present in item that are not present in newchildren are detached from the tree. No items in newchildren may be an ancestor of item. Note that not specifying newchildren results in detaching item‘s children.
Please login to continue.