summaryrefslogtreecommitdiffstats
path: root/Doc/library/email.message.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-10-15 13:29:33 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-10-15 13:29:33 (GMT)
commit8227045bbe2db3386b9c2ac4d0e73a02c9b4a95a (patch)
treec473fdfec0b1366b9d34283a7b6d1a83adc3c407 /Doc/library/email.message.rst
parent46a48bef3f0351f8f4b8c709b34537e0b6be752d (diff)
downloadcpython-8227045bbe2db3386b9c2ac4d0e73a02c9b4a95a.zip
cpython-8227045bbe2db3386b9c2ac4d0e73a02c9b4a95a.tar.gz
cpython-8227045bbe2db3386b9c2ac4d0e73a02c9b4a95a.tar.bz2
Fix sphinx role markups.
Diffstat (limited to 'Doc/library/email.message.rst')
-rw-r--r--Doc/library/email.message.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst
index dc305a7..47c1fcd 100644
--- a/Doc/library/email.message.rst
+++ b/Doc/library/email.message.rst
@@ -118,10 +118,11 @@ Here are the methods of the :class:`Message` class:
When *decode* is ``False`` (the default) the body is returned as a string
without decoding the :mailheader:`Content-Transfer-Encoding`. However,
for a :mailheader:`Content-Transfer-Encoding` of 8bit, an attempt is made
- to decode the original bytes using the `charset` specified by the
- :mailheader:`Content-Type` header, using the `replace` error handler. If
- no `charset` is specified, or if the `charset` given is not recognized by
- the email package, the body is decoded using the default ASCII charset.
+ to decode the original bytes using the ``charset`` specified by the
+ :mailheader:`Content-Type` header, using the ``replace`` error handler.
+ If no ``charset`` is specified, or if the ``charset`` given is not
+ recognized by the email package, the body is decoded using the default
+ ASCII charset.
.. method:: set_payload(payload, charset=None)