summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-12-31 05:08:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-12-31 05:08:09 (GMT)
commita6c4a10d4e70aa81fcee842f84b71e8c8e7fb142 (patch)
treedef9c28646332ebc187fa6c152b46bb5743a0d0a /Doc
parent7c9907e565ae43f910acc5ebd1dae9fc0487de9c (diff)
downloadcpython-a6c4a10d4e70aa81fcee842f84b71e8c8e7fb142.zip
cpython-a6c4a10d4e70aa81fcee842f84b71e8c8e7fb142.tar.gz
cpython-a6c4a10d4e70aa81fcee842f84b71e8c8e7fb142.tar.bz2
indicate msg is an argument
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/smtplib.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst
index 5978a8f..3101ab7 100644
--- a/Doc/library/smtplib.rst
+++ b/Doc/library/smtplib.rst
@@ -281,10 +281,10 @@ An :class:`SMTP` instance has the following methods:
envelope used by the transport agents. ``sendmail`` does not modify the
message headers in any way.
- msg may be a string containing characters in the ASCII range, or a byte
+ *msg* may be a string containing characters in the ASCII range, or a byte
string. A string is encoded to bytes using the ascii codec, and lone ``\r``
- and ``\n`` characters are converted to ``\r\n`` characters. A byte string
- is not modified.
+ and ``\n`` characters are converted to ``\r\n`` characters. A byte string is
+ not modified.
If there has been no previous ``EHLO`` or ``HELO`` command this session, this
method tries ESMTP ``EHLO`` first. If the server does ESMTP, message size and