indicate msg is an argument

This commit is contained in:
Benjamin Peterson 2011-12-30 23:08:09 -06:00
parent 7c9907e565
commit a6c4a10d4e
1 changed files with 3 additions and 3 deletions

View File

@ -281,10 +281,10 @@ An :class:`SMTP` instance has the following methods:
envelope used by the transport agents. ``sendmail`` does not modify the envelope used by the transport agents. ``sendmail`` does not modify the
message headers in any way. 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`` 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 and ``\n`` characters are converted to ``\r\n`` characters. A byte string is
is not modified. not modified.
If there has been no previous ``EHLO`` or ``HELO`` command this session, this 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 method tries ESMTP ``EHLO`` first. If the server does ESMTP, message size and