Changeset 391 for python/trunk/Doc/library/email.generator.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/email.generator.rst
r2 r391 1 :mod:`email `: Generating MIME documents2 --------------------------------------- 1 :mod:`email.generator`: Generating MIME documents 2 ------------------------------------------------- 3 3 4 4 .. module:: email.generator … … 18 18 fine, and is designed so that the transformation from flat text, to a message 19 19 structure via the :class:`~email.parser.Parser` class, and back to flat text, 20 is idempotent (the input is identical to the output) . On the other hand, using21 the Generator on a :class:`~email.message.Message` constructed by program may 22 result in changes to the :class:`~email.message.Message` object as defaults are 23 filled in.20 is idempotent (the input is identical to the output) [#]_. On the other hand, 21 using the Generator on a :class:`~email.message.Message` constructed by program 22 may result in changes to the :class:`~email.message.Message` object as defaults 23 are filled in. 24 24 25 25 Here are the public methods of the :class:`Generator` class, imported from the … … 126 126 The previously deprecated method :meth:`__call__` was removed. 127 127 128 129 .. rubric:: Footnotes 130 131 .. [#] This statement assumes that you use the appropriate setting for the 132 ``unixfrom`` argument, and that you set maxheaderlen=0 (which will 133 preserve whatever the input line lengths were). It is also not strictly 134 true, since in many cases runs of whitespace in headers are collapsed 135 into single blanks. The latter is a bug that will eventually be fixed.
Note:
See TracChangeset
for help on using the changeset viewer.