Use proper value for False

This commit is contained in:
Neal Norwitz 2004-10-17 16:24:25 +00:00
parent 2fa0b9d0bd
commit 1338946c7b

View file

@ -767,7 +767,7 @@ def __eq__(self, other):
elif isinstance(other, dict):
return self.__dict__ == other
else:
return false
return False
def __ne__(self, other):
return not (self == other)