Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(32756)

#18600: email.policy doc example passes 'policy' to as_string, but that doesn't work

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 2 months ago by rdmurray
Modified:
6 years, 2 months ago
Reviewers:
pitrou
CC:
barry, r.david.murray, docs_python.org, devnull_psf.upfronthosting.co.za
Visibility:
Public.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Doc/library/email.message.rst View 2 chunks +61 lines, -9 lines 3 comments Download
Doc/library/email.policy.rst View 1 chunk +2 lines, -1 line 0 comments Download
Doc/whatsnew/3.4.rst View 1 chunk +20 lines, -0 lines 0 comments Download
Lib/email/message.py View 1 chunk +36 lines, -8 lines 0 comments Download
Lib/test/test_email/test_email.py View 1 chunk +30 lines, -3 lines 0 comments Download

Messages

Total messages: 1
AntoinePitrou
6 years, 2 months ago #1
http://bugs.python.org/review/18600/diff/8864/Doc/library/email.message.rst
File Doc/library/email.message.rst (right):

http://bugs.python.org/review/18600/diff/8864/Doc/library/email.message.rst#n...
Doc/library/email.message.rst:43: .. method:: as_string(unixfrom=False,
maxheaderlen=0, policy=None)
You need a versionchanged tag for the new parameter.

http://bugs.python.org/review/18600/diff/8864/Doc/library/email.message.rst#n...
Doc/library/email.message.rst:85: .. method:: as_bytes(unixfrom=False,
policy=None)
versionadded required.

http://bugs.python.org/review/18600/diff/8864/Doc/library/email.message.rst#n...
Doc/library/email.message.rst:114: .. method:: __bytes__()
versionadded required.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+