summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-01-31 10:05:05 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-01-31 10:05:05 (GMT)
commit08448a1f4d57e4dd35936b9e43259438d3246c06 (patch)
tree457d0934f5c53c5acdf93b0a676a0f45cb6ec4fb /Lib/xmlrpc
parent57f7db312210fcdc5db00f8e6a67f682ced342e3 (diff)
downloadcpython-08448a1f4d57e4dd35936b9e43259438d3246c06.zip
cpython-08448a1f4d57e4dd35936b9e43259438d3246c06.tar.gz
cpython-08448a1f4d57e4dd35936b9e43259438d3246c06.tar.bz2
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
implementation in issue #21408 they are redundant.
Diffstat (limited to 'Lib/xmlrpc')
-rw-r--r--Lib/xmlrpc/client.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/xmlrpc/client.py b/Lib/xmlrpc/client.py
index 9435015..047929a 100644
--- a/Lib/xmlrpc/client.py
+++ b/Lib/xmlrpc/client.py
@@ -340,10 +340,6 @@ class DateTime:
s, o = self.make_comparable(other)
return s == o
- def __ne__(self, other):
- s, o = self.make_comparable(other)
- return s != o
-
def timetuple(self):
return time.strptime(self.value, "%Y%m%dT%H:%M:%S")
@@ -407,11 +403,6 @@ class Binary:
other = other.data
return self.data == other
- def __ne__(self, other):
- if isinstance(other, Binary):
- other = other.data
- return self.data != other
-
def decode(self, data):
self.data = base64.decodebytes(data)