This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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

Created on 2018-12-04 09:01 by charlax, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 10886 merged python-dev, 2018-12-04 09:02
Messages (3)
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
msg333353 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2019-01-09 22:52
New changeset e394ba32147f687b6bc7518d461f1d84211698e0 by Brian Curtin (Charles-Axel Dein) in branch 'master':
bpo-35404: Clarify how to import _structure in email.message doc (GH-10886)
msg378288 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2020-10-08 21:58
This seems complete, can it be closed?
Date User Action Args
2022-04-11 14:59:08adminsetgithub: 79585
2020-10-08 22:37:36Mariattasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2020-10-08 21:58:33iritkatrielsetnosy: + iritkatriel
messages: + msg378288
2019-01-09 22:52:23brian.curtinsetnosy: + brian.curtin
messages: + msg333353
2018-12-04 09:02:59python-devsetkeywords: + patch
stage: patch review
pull_requests: + pull_request10124
2018-12-04 09:01:35charlaxcreate