Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/email.generator.rst

    r2 r391  
    1 :mod:`email`: Generating MIME documents
    2 ---------------------------------------
     1:mod:`email.generator`: Generating MIME documents
     2-------------------------------------------------
    33
    44.. module:: email.generator
     
    1818fine, and is designed so that the transformation from flat text, to a message
    1919structure 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, using
    21 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.
     20is idempotent (the input is identical to the output) [#]_.  On the other hand,
     21using the Generator on a :class:`~email.message.Message` constructed by program
     22may result in changes to the :class:`~email.message.Message` object as defaults
     23are filled in.
    2424
    2525Here are the public methods of the :class:`Generator` class, imported from the
     
    126126   The previously deprecated method :meth:`__call__` was removed.
    127127
     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.