(self)
删除所有的子节点

        Returns:
删除所有的子节点
删除所有的子节点
def delete_children(self):
        """ 删除所有的子节点

        Returns:

        """
        self._change_to_leaf = 1
        for child in self._children:
            child = []

        self._children = []
def delete_children ( self ) : self . _change_to_leaf = 1 for child in self . _children : child = [ ] self . _children = [ ]