~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Doc/library/email.generator.rst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mto: (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100311133019-sblbooa3uqrkoe70
Tags: upstream-2.6.5~rc2
ImportĀ upstreamĀ versionĀ 2.6.5~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
standards-compliant way, should handle MIME and non-MIME email messages just
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).
 
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.
21
24
 
22
25
Here are the public methods of the :class:`Generator` class, imported from the
23
26
:mod:`email.generator` module: