]> granicus.if.org Git - python/commit
Per discussion with Barry, make the default value for both get() and
authorFred Drake <fdrake@acm.org>
Tue, 22 May 2001 19:36:50 +0000 (19:36 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 22 May 2001 19:36:50 +0000 (19:36 +0000)
commit233226e9773cb065d6fb2ffce9320e4c885894f3
tree2d80fed70eb10943ed1889638bc1cf7b49ae337d
parentd97422115e9ed6498bc7a6f792a0bf8f278f9097
Per discussion with Barry, make the default value for both get() and
setdefault() the empty string.  In setdefault(), use + to join the value
to create the entry for the headers attribute so that TypeError is raised
if the value is of the wrong type.
Lib/rfc822.py