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

Created on 2018-12-04 09:01 by charlax, last changed 2019-01-09 22:52 by brian.curtin.

Pull Requests
URL Status Linked Edit
PR 10886 merged python-dev, 2018-12-04 09:02
Messages (2)
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)
https://github.com/python/cpython/commit/e394ba32147f687b6bc7518d461f1d84211698e0
History
Date User Action Args
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