diff options
author | R. David Murray <rdmurray@bitdance.com> | 2010-01-10 19:18:27 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2010-01-10 19:18:27 (GMT) |
commit | 101f27805c975959d6307300db078f3b7d04cf5e (patch) | |
tree | 6bbfdc246827cf804e9012e64a6749278ca01a78 /Doc/library/email.generator.rst | |
parent | d587e300c1f280eee42ad5d044a5da232b2471fe (diff) | |
download | cpython-101f27805c975959d6307300db078f3b7d04cf5e.zip cpython-101f27805c975959d6307300db078f3b7d04cf5e.tar.gz cpython-101f27805c975959d6307300db078f3b7d04cf5e.tar.bz2 |
Merged revisions 77412 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77412 | r.david.murray | 2010-01-10 12:41:28 -0500 (Sun, 10 Jan 2010) | 3 lines
Issue #7119: document that a program-generated Message object
tree may be mutated when serialized.
........
Diffstat (limited to 'Doc/library/email.generator.rst')
-rw-r--r-- | Doc/library/email.generator.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/email.generator.rst b/Doc/library/email.generator.rst index 2061f76..ba38f68 100644 --- a/Doc/library/email.generator.rst +++ b/Doc/library/email.generator.rst @@ -17,7 +17,10 @@ yourself. However the bundled generator knows how to generate most email in a standards-compliant way, should handle MIME and non-MIME email messages just fine, and is designed so that the transformation from flat text, to a message structure via the :class:`~email.parser.Parser` class, and back to flat text, -is idempotent (the input is identical to the output). +is idempotent (the input is identical to the output). On the other hand, using +the Generator on a :class:`~email.message.Message` constructed by program may +result in changes to the :class:`~email.message.Message` object as defaults are +filled in. Here are the public methods of the :class:`Generator` class, imported from the :mod:`email.generator` module: |