[Python-checkins] cpython (3.2): indicate msg is an argument

benjamin.peterson python-checkins at python.org
Sat Dec 31 06:09:38 CET 2011


http://hg.python.org/cpython/rev/ce349e1f923e
changeset:   74204:ce349e1f923e
branch:      3.2
parent:      74201:cd30304713ae
user:        Benjamin Peterson <benjamin at python.org>
date:        Fri Dec 30 23:08:09 2011 -0600
summary:
  indicate msg is an argument

files:
  Doc/library/smtplib.rst |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst
--- a/Doc/library/smtplib.rst
+++ b/Doc/library/smtplib.rst
@@ -281,10 +281,10 @@
       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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list