summaryrefslogtreecommitdiffstats
path: root/Lib/email/parser.py
diff options
context:
space:
mode:
authorJosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com>2023-03-08 13:58:14 (GMT)
committerGitHub <noreply@github.com>2023-03-08 13:58:14 (GMT)
commitb097925858c6975c73e989226cf278cc382c0416 (patch)
tree1adce7e2f4ad49a61832067d30a4cd3a552e553b /Lib/email/parser.py
parent401d7a7f009ca2e282b1a0d1b880dc602afd39dc (diff)
downloadcpython-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/parser.py')
-rw-r--r--Lib/email/parser.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/email/parser.py b/Lib/email/parser.py
index e94d455..06d99b1 100644
--- a/Lib/email/parser.py
+++ b/Lib/email/parser.py
@@ -64,7 +64,6 @@ class Parser:
return self.parse(StringIO(text), headersonly=headersonly)
-
class HeaderParser(Parser):
def parse(self, fp, headersonly=True):
return Parser.parse(self, fp, True)
@@ -72,7 +71,7 @@ class HeaderParser(Parser):
def parsestr(self, text, headersonly=True):
return Parser.parsestr(self, text, True)
-
+
class BytesParser:
def __init__(self, *args, **kw):