aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/uuid.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-01-31 12:05:05 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-01-31 12:05:05 +0200
commit08448a1f4d57e4dd35936b9e43259438d3246c06 (patch)
tree457d0934f5c53c5acdf93b0a676a0f45cb6ec4fb /Lib/uuid.py
parent57f7db312210fcdc5db00f8e6a67f682ced342e3 (diff)
downloadcpython-08448a1f4d57e4dd35936b9e43259438d3246c06.tar.gz
cpython-08448a1f4d57e4dd35936b9e43259438d3246c06.zip
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
implementation in issue #21408 they are redundant.
Diffstat (limited to 'Lib/uuid.py')
-rw-r--r--Lib/uuid.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/uuid.py b/Lib/uuid.py
index 7b0b413966c..e627573969c 100644
--- a/Lib/uuid.py
+++ b/Lib/uuid.py
@@ -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.