diff options
author | Guido van Rossum <guido@python.org> | 2002-06-05 19:07:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-05 19:07:39 (GMT) |
commit | d842e07470e9371eb3bf44d02c0153b66cf2164b (patch) | |
tree | 43324c03a3dd8367dbae4cc3cff28a1d2f98e730 /Lib/rfc822.py | |
parent | 84fca948c8e90dae94c5815d8b9ae2ff2331b676 (diff) | |
download | cpython-d842e07470e9371eb3bf44d02c0153b66cf2164b.zip cpython-d842e07470e9371eb3bf44d02c0153b66cf2164b.tar.gz cpython-d842e07470e9371eb3bf44d02c0153b66cf2164b.tar.bz2 |
SF bug 558179.
Change default for get() back to None.
Will backport to 2.2.1.
Diffstat (limited to 'Lib/rfc822.py')
-rw-r--r-- | Lib/rfc822.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 6495f5f..4b12c4b 100644 --- a/Lib/rfc822.py +++ b/Lib/rfc822.py @@ -425,13 +425,6 @@ class Message: for i in list: del self.headers[i] - def get(self, name, default=""): - name = name.lower() - if name in self.dict: - return self.dict[name] - else: - return default - def setdefault(self, name, default=""): lowername = name.lower() if lowername in self.dict: |