

def appendChild(self, child):
    '\n        Make the given L{Node} the last child of this node.\n\n        @param child: The L{Node} which will become a child of this node.\n\n        @raise TypeError: If C{child} is not a C{Node} instance.\n        '
    if (not isinstance(child, Node)):
        raise TypeError('expected Node instance')
    self.childNodes.append(child)
    child.parentNode = self

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/microdom.py Node.appendChild/original