

def appendChild(self, child):
    "\n        Make the given L{Node} the I{document element} of this L{Document}.\n\n        @param child: The L{Node} to make into this L{Document}'s document\n            element.\n\n        @raise ValueError: If this document already has a document element.\n        "
    if self.childNodes:
        raise ValueError('Only one element per document.')
    Node.appendChild(self, self)

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/microdom.py Document.appendChild/VarMisuse@34/148 `child`->`self`