R. David Murray <[email protected]> added the comment:

The formatting of that doctest paragraph got messed up.  Let me try again:

    >>> m = message_from_string("From: John Doe [email protected] 
<[email protected]>\n\n", policy=default)
    >>> m['From'].addresses
    (Address(display_name='', username='John Doe jdoe', domain='example.com'),)

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34155>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to