[New-bugs-announce] [issue35404] Document how to import _structure in email.message

Charles-Axel Dein report at bugs.python.org
Tue Dec 4 04:01:35 EST 2018

New submission from Charles-Axel Dein <charlesaxel.dein at gmail.com>:

The example for `walk()` in `email.message.EmailMessage` makes use of the `_structure` function but does not clarify how to import it.

I can make a patch adding a line:

  from email.iterators import _structure

assignee: docs at python
components: Documentation
messages: 331018
nosy: charlax, docs at python
priority: normal
severity: normal
status: open
title: Document how to import _structure in email.message
type: enhancement
versions: Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list