mirror of
https://github.com/GNOME/libxml2.git
synced 2025-10-20 05:14:10 +08:00
fixed tab problem with patch from Andreas Hanke (bug #408626)
* python/libxml.py: fixed tab problem with patch from Andreas Hanke (bug #408626) svn path=/trunk/; revision=3586
This commit is contained in:
@@ -245,19 +245,19 @@ class xmlCore:
|
||||
|
||||
def __eq__(self, other):
|
||||
if other == None:
|
||||
return False
|
||||
return False
|
||||
ret = libxml2mod.compareNodesEqual(self._o, other._o)
|
||||
if ret == None:
|
||||
return False
|
||||
return ret == True
|
||||
if ret == None:
|
||||
return False
|
||||
return ret == True
|
||||
def __ne__(self, other):
|
||||
if other == None:
|
||||
return True
|
||||
return True
|
||||
ret = libxml2mod.compareNodesEqual(self._o, other._o)
|
||||
return not ret
|
||||
return not ret
|
||||
def __hash__(self):
|
||||
ret = libxml2mod.nodeHash(self._o)
|
||||
return ret
|
||||
ret = libxml2mod.nodeHash(self._o)
|
||||
return ret
|
||||
|
||||
def __str__(self):
|
||||
return self.serialize()
|
||||
|
Reference in New Issue
Block a user