diff options
author | JosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com> | 2023-03-08 13:58:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 13:58:14 (GMT) |
commit | b097925858c6975c73e989226cf278cc382c0416 (patch) | |
tree | 1adce7e2f4ad49a61832067d30a4cd3a552e553b /Lib/email/header.py | |
parent | 401d7a7f009ca2e282b1a0d1b880dc602afd39dc (diff) | |
download | cpython-b097925858c6975c73e989226cf278cc382c0416.zip cpython-b097925858c6975c73e989226cf278cc382c0416.tar.gz cpython-b097925858c6975c73e989226cf278cc382c0416.tar.bz2 |
gh-102507 Remove invisible pagebreak characters (#102531)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
Diffstat (limited to 'Lib/email/header.py')
-rw-r--r-- | Lib/email/header.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/email/header.py b/Lib/email/header.py index 4ab0032..984851a 100644 --- a/Lib/email/header.py +++ b/Lib/email/header.py @@ -52,12 +52,10 @@ fcre = re.compile(r'[\041-\176]+:$') _embedded_header = re.compile(r'\n[^ \t]+:') - # Helpers _max_append = email.quoprimime._max_append - def decode_header(header): """Decode a message header value without converting charset. @@ -152,7 +150,6 @@ def decode_header(header): return collapsed - def make_header(decoded_seq, maxlinelen=None, header_name=None, continuation_ws=' '): """Create a Header from a sequence of pairs as returned by decode_header() @@ -175,7 +172,6 @@ def make_header(decoded_seq, maxlinelen=None, header_name=None, return h - class Header: def __init__(self, s=None, charset=None, maxlinelen=None, header_name=None, @@ -409,7 +405,6 @@ class Header: self._chunks = chunks - class _ValueFormatter: def __init__(self, headerlen, maxlen, continuation_ws, splitchars): self._maxlen = maxlen |