[issue35404] Document how to import _structure in email.message

New submission from Charles-Axel Dein <charlesaxel.dein@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@python components: Documentation messages: 331018 nosy: charlax, docs@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@bugs.python.org> <https://bugs.python.org/issue35404> _______________________________________

Change by Roundup Robot <devnull@psf.upfronthosting.co.za>: ---------- keywords: +patch pull_requests: +10124 stage: -> patch review _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue35404> _______________________________________

Brian Curtin <brian@python.org> added the comment: 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/e394ba32147f687b6bc7518d461f1d84211... ---------- nosy: +brian.curtin _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue35404> _______________________________________

Irit Katriel <iritkatriel@yahoo.com> added the comment: This seems complete, can it be closed? ---------- nosy: +iritkatriel _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue35404> _______________________________________

Change by Mariatta <mariatta@python.org>: ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue35404> _______________________________________
participants (5)
-
Brian Curtin
-
Charles-Axel Dein
-
Irit Katriel
-
Mariatta
-
Roundup Robot