diff options
Diffstat (limited to 'Lib/rfc822.py')
-rw-r--r-- | Lib/rfc822.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 4b12c4b..3d9e13f 100644 --- a/Lib/rfc822.py +++ b/Lib/rfc822.py @@ -443,7 +443,7 @@ class Message: def __contains__(self, name): """Determine whether a message contains the named header.""" - return name.lower() in self.dict + return name.lower() in self.dict def keys(self): """Get all of a message's header field names.""" |