def destroy(self):
        # remove parent _children list reference
        if self._parent:
            i = self._parent.index(self)
            del self._parent[i]
        self._parent = None
        for n in self._children:
            n._parent = None
        self._children = None
destroy() Remove this node and all child node references.
dataset/ETHPy150Open kdart/pycopia/XML/pycopia/XML/POM.py/ElementNode.destroy