Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6acf17 commit e394ba3Copy full SHA for e394ba3
1 file changed
Doc/library/email.message.rst
@@ -487,7 +487,6 @@ message objects.
487
from email import message_from_binary_file
488
with open('../Lib/test/test_email/data/msg_16.txt', 'rb') as f:
489
msg = message_from_binary_file(f)
490
- from email.iterators import _structure
491
492
.. doctest::
493
@@ -509,6 +508,7 @@ message objects.
509
508
510
511
+ >>> from email.iterators import _structure
512
>>> for part in msg.walk():
513
... print(part.get_content_maintype() == 'multipart',
514
... part.is_multipart())
0 commit comments