diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-08-09 20:15:28 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-08-09 20:15:28 (GMT) |
commit | bb17d2b857d33e474f830c4a665f1fa412eb29f1 (patch) | |
tree | 6abcd65ca409e435a0a0b4b7184c3a2318402e3e /Lib/test/script_helper.py | |
parent | 3f58277382f3e337d225da547bdb26bc555570a4 (diff) | |
download | cpython-bb17d2b857d33e474f830c4a665f1fa412eb29f1.zip cpython-bb17d2b857d33e474f830c4a665f1fa412eb29f1.tar.gz cpython-bb17d2b857d33e474f830c4a665f1fa412eb29f1.tar.bz2 |
#18600: add policy to add_string, and as_bytes and __bytes__ methods.
This was triggered by wanting to make the doctest in email.policy.rst pass;
as_bytes and __bytes__ are clearly useful now that we have BytesGenerator.
Also updated the Message docs to document the policy keyword that was
added in 3.3.
Diffstat (limited to 'Lib/test/script_helper.py')
0 files changed, 0 insertions, 0 deletions