summaryrefslogtreecommitdiff
path: root/Lib/rfc822.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-09-21 16:27:45 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2012-09-21 16:27:45 +0300
commit003014bf1e7efcfcad19bd391b206e111ea21083 (patch)
tree6b440842b0b7667e341d335e7b331d191ea645c4 /Lib/rfc822.py
parent3d2fc15f82f495e6b53a0e7bc60b2283ccbcb5d3 (diff)
downloadcpython-git-003014bf1e7efcfcad19bd391b206e111ea21083.tar.gz
#15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.
Diffstat (limited to 'Lib/rfc822.py')
-rw-r--r--Lib/rfc822.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index 3b29a6a5d8..b65d8da0d2 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -212,7 +212,7 @@ class Message:
You may override this method if your application wants to bend the
rules, e.g. to strip trailing whitespace, or to recognize MH template
separators ('--------'). For convenience (e.g. for code reading from
- sockets) a line consisting of \r\n also matches.
+ sockets) a line consisting of \\r\\n also matches.
"""
return line in _blanklines