summaryrefslogtreecommitdiffstats
path: root/Lib/smtplib.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-04-03 15:13:23 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-04-03 15:13:23 (GMT)
commit50ef0f41afd313ed3c433f724e6aaa79d7e55c02 (patch)
treee33b1fe0c2fb07b6b65b7ad5f5c0e56adce7c465 /Lib/smtplib.py
parent32ed7509523517a3737e45123609048c75440591 (diff)
parent9f8a8910a415e31808debe6e9fed7f7c3638d42a (diff)
downloadcpython-50ef0f41afd313ed3c433f724e6aaa79d7e55c02.zip
cpython-50ef0f41afd313ed3c433f724e6aaa79d7e55c02.tar.gz
cpython-50ef0f41afd313ed3c433f724e6aaa79d7e55c02.tar.bz2
Escaped backslashes in docstrings.
Diffstat (limited to 'Lib/smtplib.py')
-rwxr-xr-xLib/smtplib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index 327a454..2423728 100755
--- a/Lib/smtplib.py
+++ b/Lib/smtplib.py
@@ -518,8 +518,8 @@ class SMTP:
Raises SMTPDataError if there is an unexpected reply to the
DATA command; the return value from this method is the final
response code received when the all data is sent. If msg
- is a string, lone '\r' and '\n' characters are converted to
- '\r\n' characters. If msg is bytes, it is transmitted as is.
+ is a string, lone '\\r' and '\\n' characters are converted to
+ '\\r\\n' characters. If msg is bytes, it is transmitted as is.
"""
self.putcmd("data")
(code, repl) = self.getreply()