summaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-04-06 19:39:11 (GMT)
committerGuido van Rossum <guido@python.org>2001-04-06 19:39:11 (GMT)
commit58b6f5b53e67878fa3d9bbe4f4112cddf1ebb5cc (patch)
tree9cca0b16e770158e67ed0775f641e471a1338c97 /acconfig.h
parentf95423e2659a08703e37c7fc111d0f60ad3550a4 (diff)
downloadcpython-58b6f5b53e67878fa3d9bbe4f4112cddf1ebb5cc.zip
cpython-58b6f5b53e67878fa3d9bbe4f4112cddf1ebb5cc.tar.gz
cpython-58b6f5b53e67878fa3d9bbe4f4112cddf1ebb5cc.tar.bz2
Since this module already uses doctest-style examples, I figured I'd
add a self-test using doctest. Results: - The docstring needs to be a raw string because it uses \"...\". - The oreo example was broken: the Set-Cookie output doesn't add quotes around "doublestuff". - I had to change the example that prints the class of a Cookie.Cookie instance to avoid incorporating an arbitrary object address in the test output. Pretty good score for both doctest and the doc string, I'd say!
Diffstat (limited to 'acconfig.h')
0 files changed, 0 insertions, 0 deletions