

def removeChild(self, child):
    "\n        Remove the given L{Node} from this node's children.\n\n        @param child: A L{Node} which is a child of this node which will no\n            longer be a child of this node after this method is called.\n\n        @raise TypeError: If C{child} is not a C{Node} instance.\n\n        @return: C{child}\n        "
    if (not isinstance(child, Node)):
        raise TypeError('expected Node instance')
    if (child in child.childNodes):
        self.childNodes.remove(child)
        child.parentNode = None
    return child

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/microdom.py Node.removeChild/VarMisuse@38/180 `self`->`child`