summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2018-10-16 19:26:17 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2018-10-16 19:26:17 (GMT)
commita5ca98537b9f3f5eeae9157b1548b741df3fbf90 (patch)
treef77d7fa7000e92f93749feaa1b9cba84e7869a8d /Doc/library
parent137b0632dccb992ca11e9445142fb33a29c33a51 (diff)
downloadcpython-a5ca98537b9f3f5eeae9157b1548b741df3fbf90.zip
cpython-a5ca98537b9f3f5eeae9157b1548b741df3fbf90.tar.gz
cpython-a5ca98537b9f3f5eeae9157b1548b741df3fbf90.tar.bz2
In email.parser in message_from_bytes, update `strict` to `policy` (#9854)
According to the versionchanged note, the `strict` argument was removed in 3.3 and `policy` was added, but the name of the argument in the paragraph wasn't updated.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/email.parser.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/email.parser.rst b/Doc/library/email.parser.rst
index e0cab6a..49b4e99 100644
--- a/Doc/library/email.parser.rst
+++ b/Doc/library/email.parser.rst
@@ -238,7 +238,7 @@ in the top-level :mod:`email` package namespace.
Return a message object structure from a :term:`bytes-like object`. This is
equivalent to ``BytesParser().parsebytes(s)``. Optional *_class* and
- *strict* are interpreted as with the :class:`~email.parser.BytesParser` class
+ *policy* are interpreted as with the :class:`~email.parser.BytesParser` class
constructor.
.. versionadded:: 3.2