def detach(self):
        if self._parent:
            try:
                i = self._parent.index(self)
                del self._parent[i]
            except __HOLE__:
                pass
        self._parent = None
        return self
dataset/ETHPy150Open kdart/pycopia/net/pycopia/router.py/Impairment.detach