src/orion/core/evc/tree.py
def drop_children(self, *nodes):
        """Drop the children of the node, do nothing if no parent

        If no nodes are passed, the method will drop all the children of the current node.

        Note that the parent of the given node will be removed as well

        Raises
        ------
        ValueError
            If one of the given nodes is not a children of the current node.

        """
        if not nodes:
            nodes = self.children

        for child in list(nodes):
            del self._children[self._children.index(child)]
            # pylint: disable=protected-access
            child._parent = None
Drop the children of the node, do nothing if no parent

        If no nodes are passed, the method will drop all the children of the current node.

        Note that the parent of the given node will be removed as well

        Raises
        ------
        ValueError
            If one of the given nodes is not a children of the current node.

        
Drop the children of the node, do nothing if no parent
If no nodes are passed, the method will drop all the children of the current node.

Note that the parent of the given node will be removed as well

Raises

ValueError
If one of the given nodes is not a children of the current node.
Drop the children of the node do nothing if no parent If no nodes are passed the method will drop all the children of the current node . Note that the parent of the given node will be removed as well Raises ValueError If one of the given nodes is not a children of the current node .
def drop_children(self, *nodes):
        if not nodes:
            nodes = self.children
        for child in list(nodes):
            del self._children[self._children.index(child)]
            child._parent = None
def drop_children ( self , * nodes ) : if not nodes : nodes = self . children for child in list ( nodes ) : del self . _children [ self . _children . index ( child ) ] child . _parent = None
Drop the children of the node, do nothing if no parent
If no nodes are passed, the method will drop all the children of the current node.
Drop the children of the node do nothing if no parent If no nodes are passed the method will drop all the children of the current node .
"""Drop the children of the node, do nothing if no parent

        If no nodes are passed, the method will drop all the children of the current node.

        Note that the parent of the given node will be removed as well

        Raises
        ------
        ValueError
            If one of the given nodes is not a children of the current node.

        """ # pylint: disable=protected-access
self