summaryrefslogtreecommitdiffstats
path: root/Lib/email/header.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2011-03-14 22:35:56 (GMT)
committerR David Murray <rdmurray@bitdance.com>2011-03-14 22:35:56 (GMT)
commitcd37dfcfac956d6400659dd2d208bcf81f32aebc (patch)
tree32e2ee7fd4340cd514377054cd121d80eea30c96 /Lib/email/header.py
parentf8b9dfd9a1a3d611d43e3c3ef8031fed96c8dd25 (diff)
downloadcpython-cd37dfcfac956d6400659dd2d208bcf81f32aebc.zip
cpython-cd37dfcfac956d6400659dd2d208bcf81f32aebc.tar.gz
cpython-cd37dfcfac956d6400659dd2d208bcf81f32aebc.tar.bz2
Harmonize linesep docstrings, and fix the quoting of \r\n
Diffstat (limited to 'Lib/email/header.py')
-rw-r--r--Lib/email/header.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/header.py b/Lib/email/header.py
index 35cdb2b..e171617 100644
--- a/Lib/email/header.py
+++ b/Lib/email/header.py
@@ -276,7 +276,7 @@ class Header:
self._chunks.append((s, charset))
def encode(self, splitchars=';, \t', maxlinelen=None, linesep='\n'):
- """Encode a message header into an RFC-compliant format.
+ r"""Encode a message header into an RFC-compliant format.
There are many issues involved in converting a given string for use in
an email header. Only certain character sets are readable in most