Issue #23326: Removed __ne__ implementations. Since fixing default __ne__

implementation in issue #21408 they are redundant.
This commit is contained in:
Serhiy Storchaka 2015-01-31 12:05:05 +02:00
parent 57f7db3122
commit 08448a1f4d
20 changed files with 3 additions and 104 deletions

View file

@ -185,11 +185,6 @@ class UUID(object):
return self.int == other.int
return NotImplemented
def __ne__(self, other):
if isinstance(other, UUID):
return self.int != other.int
return NotImplemented
# Q. What's the value of being able to sort UUIDs?
# A. Use them as keys in a B-Tree or similar mapping.