Mercurial > cpython-lru_cache-weakref
diff Lib/email/Iterators.py @ 20253:d96cd38a3fec legacy-trunk
Give me back my page breaks.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Thu, 04 Oct 2001 17:05:11 +0000 |
| parents | 5c4261e74478 |
| children | 518e30f90d1f |
line wrap: on
line diff
--- a/Lib/email/Iterators.py Thu Oct 04 17:00:07 2001 +0000 +++ b/Lib/email/Iterators.py Thu Oct 04 17:05:11 2001 +0000 @@ -9,7 +9,7 @@ from types import StringType - + def body_line_iterator(msg): """Iterate over the parts, returning string payloads line-by-line.""" for subpart in msg.walk(): @@ -19,7 +19,7 @@ yield line - + def typed_subpart_iterator(msg, maintype='text', subtype=None): """Iterate over the subparts with a given MIME type.
