Title: Document how to import _structure in email.message
Type: enhancement Stage: patch review
Components: Documentation Versions: Python 3.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: charlax, docs@python
Priority: normal Keywords: patch

Created on 2018-12-04 09:01 by charlax, last changed 2018-12-04 09:02 by python-dev.

Pull Requests
URL Status Linked Edit
PR 10886 open python-dev, 2018-12-04 09:02
Messages (1)
msg331018 - (view) Author: Charles-Axel Dein (charlax) * Date: 2018-12-04 09:01
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
Date User Action Args
2018-12-04 09:02:59python-devsetkeywords: + patch
stage: patch review
pull_requests: + pull_request10124
2018-12-04 09:01:35charlaxcreate