def free(self): try: self.doc._ctxt.xpathFreeContext() except: pass libxml2mod.freeDoc(self._o)
def free(self): libxml2mod.freeDoc(self._o)