summaryrefslogtreecommitdiffstats
path: root/Lib/rfc822.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/rfc822.py')
-rw-r--r--Lib/rfc822.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index d6d5e47..0ef0d97 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -428,10 +428,6 @@ class Message:
self.dict[lowername] = default
return default
- def has_key(self, name):
- """Determine whether a message contains the named header."""
- return name.lower() in self.dict
-
def __contains__(self, name):
"""Determine whether a message contains the named header."""
return name.lower() in self.dict