diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-21 13:27:45 (GMT) |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-21 13:27:45 (GMT) |
| commit | 003014bf1e7efcfcad19bd391b206e111ea21083 (patch) | |
| tree | 6b440842b0b7667e341d335e7b331d191ea645c4 /Lib/rfc822.py | |
| parent | 3d2fc15f82f495e6b53a0e7bc60b2283ccbcb5d3 (diff) | |
| download | cpython-003014bf1e7efcfcad19bd391b206e111ea21083.zip cpython-003014bf1e7efcfcad19bd391b206e111ea21083.tar.gz cpython-003014bf1e7efcfcad19bd391b206e111ea21083.tar.bz2 | |
#15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.
Diffstat (limited to 'Lib/rfc822.py')
| -rw-r--r-- | Lib/rfc822.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 3b29a6a..b65d8da 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 |
