summaryrefslogtreecommitdiffstats
path: root/Doc/library/email.message.rst
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2018-12-05 19:45:30 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-12-05 19:45:30 (GMT)
commit55f41e45b4318cbe19209f5144641344d0049fb8 (patch)
treeec0b6422a595cf8cfbae67d0525f6644b9314833 /Doc/library/email.message.rst
parent1ce853f37783575e2b3aaa159ddcebc8660830ef (diff)
downloadcpython-55f41e45b4318cbe19209f5144641344d0049fb8.zip
cpython-55f41e45b4318cbe19209f5144641344d0049fb8.tar.gz
cpython-55f41e45b4318cbe19209f5144641344d0049fb8.tar.bz2
Correct a couple of unbalanced parenthesis. (GH-10779)
Diffstat (limited to 'Doc/library/email.message.rst')
-rw-r--r--Doc/library/email.message.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst
index ff54045..77b8099 100644
--- a/Doc/library/email.message.rst
+++ b/Doc/library/email.message.rst
@@ -92,7 +92,7 @@ message objects.
.. method:: __str__()
- Equivalent to `as_string(policy=self.policy.clone(utf8=True)`. Allows
+ Equivalent to ``as_string(policy=self.policy.clone(utf8=True))``. Allows
``str(msg)`` to produce a string containing the serialized message in a
readable format.
@@ -379,7 +379,7 @@ message objects.
Note that existing parameter values of headers may be accessed through
the :attr:`~email.headerregistry.BaseHeader.params` attribute of the
- header value (for example, ``msg['Content-Type'].params['charset']``.
+ header value (for example, ``msg['Content-Type'].params['charset']``).
.. versionchanged:: 3.4 ``replace`` keyword was added.
@@ -679,7 +679,7 @@ message objects.
specified by the current :mod:`~email.policy`. If the added part
has no :mailheader:`Content-Disposition` header, add one with the value
``attachment``. This method can be used both for explicit attachments
- (:mailheader:`Content-Disposition: attachment` and ``inline`` attachments
+ (:mailheader:`Content-Disposition: attachment`) and ``inline`` attachments
(:mailheader:`Content-Disposition: inline`), by passing appropriate
options to the ``content_manager``.