summaryrefslogtreecommitdiff
path: root/Lib/email/header.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/email/header.py
parent57f7db312210fcdc5db00f8e6a67f682ced342e3 (diff)
downloadcpython-git-08448a1f4d57e4dd35936b9e43259438d3246c06.tar.gz
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
implementation in issue #21408 they are redundant.
Diffstat (limited to 'Lib/email/header.py')
-rw-r--r--Lib/email/header.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/email/header.py b/Lib/email/header.py
index 9c89589e6e..6820ea16ba 100644
--- a/Lib/email/header.py
+++ b/Lib/email/header.py
@@ -262,9 +262,6 @@ class Header:
# args and do another comparison.
return other == str(self)
- def __ne__(self, other):
- return not self == other
-
def append(self, s, charset=None, errors='strict'):
"""Append a string to the MIME header.