aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/email/iterators.py
diff options
context:
space:
mode:
authorJosephSBoyle <48555120+JosephSBoyle@users.noreply.github.com>2023-03-08 13:58:14 +0000
committerGitHub <noreply@github.com>2023-03-08 13:58:14 +0000
commitb097925858c6975c73e989226cf278cc382c0416 (patch)
tree1adce7e2f4ad49a61832067d30a4cd3a552e553b /Lib/email/iterators.py
parent401d7a7f009ca2e282b1a0d1b880dc602afd39dc (diff)
downloadcpython-b097925858c6975c73e989226cf278cc382c0416.tar.gz
cpython-b097925858c6975c73e989226cf278cc382c0416.zip
gh-102507 Remove invisible pagebreak characters (#102531)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
Diffstat (limited to 'Lib/email/iterators.py')
-rw-r--r--Lib/email/iterators.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/email/iterators.py b/Lib/email/iterators.py
index b5502ee9752..3410935e38f 100644
--- a/Lib/email/iterators.py
+++ b/Lib/email/iterators.py
@@ -15,7 +15,6 @@ import sys
from io import StringIO
-
# This function will become a method of the Message class
def walk(self):
"""Walk over the message tree, yielding each subpart.
@@ -29,7 +28,6 @@ def walk(self):
yield from subpart.walk()
-
# These two functions are imported into the Iterators.py interface module.
def body_line_iterator(msg, decode=False):
"""Iterate over the parts, returning string payloads line-by-line.
@@ -55,7 +53,6 @@ def typed_subpart_iterator(msg, maintype='text', subtype=None):
yield subpart
-
def _structure(msg, fp=None, level=0, include_default=False):
"""A handy debugging aid"""
if fp is None: