summaryrefslogtreecommitdiffstats
path: root/Include/grammar.h
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-22 19:36:50 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-22 19:36:50 (GMT)
commit233226e9773cb065d6fb2ffce9320e4c885894f3 (patch)
tree2d80fed70eb10943ed1889638bc1cf7b49ae337d /Include/grammar.h
parentd97422115e9ed6498bc7a6f792a0bf8f278f9097 (diff)
downloadcpython-233226e9773cb065d6fb2ffce9320e4c885894f3.zip
cpython-233226e9773cb065d6fb2ffce9320e4c885894f3.tar.gz
cpython-233226e9773cb065d6fb2ffce9320e4c885894f3.tar.bz2
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.
Diffstat (limited to 'Include/grammar.h')
0 files changed, 0 insertions, 0 deletions