commit | bb17d2b857d33e474f830c4a665f1fa412eb29f1 | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Fri Aug 09 16:15:28 2013 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Fri Aug 09 16:15:28 2013 -0400 |
tree | 6abcd65ca409e435a0a0b4b7184c3a2318402e3e | |
parent | 3f58277382f3e337d225da547bdb26bc555570a4 [diff] |
#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.