def __eq__(self, other): if other == None: return False ret = libxml2mod.compareNodesEqual(self._o, other._o) if ret == None: return False return ret == True
def __ne__(self, other): if other == None: return True ret = libxml2mod.compareNodesEqual(self._o, other._o) return not ret