Lines Matching full:generator
1 :mod:`email.generator`: Generating MIME documents
4 .. module:: email.generator
12 producing a flat text document is the job of the :class:`Generator` class.
15 functionality of the bundled generator; you could write one from scratch
16 yourself. However the bundled generator knows how to generate most email in a
21 using the Generator on a :class:`~email.message.Message` constructed by program
25 Here are the public methods of the :class:`Generator` class, imported from the
26 :mod:`email.generator` module:
29 .. class:: Generator(outfp[, mangle_from_[, maxheaderlen]])
31 The constructor for the :class:`Generator` class takes a file-like object called
50 The other public :class:`Generator` methods are:
56 *msg* to the output file specified when the :class:`Generator` instance
73 Return an independent clone of this :class:`Generator` instance with the
82 :class:`Generator`'s constructor. This provides just enough file-like API
83 for :class:`Generator` instances to be used in extended print statements.
90 The :mod:`email.generator` module also provides a derived class, called
91 :class:`DecodedGenerator` which is like the :class:`Generator` base class,
98 This class, derived from :class:`Generator` walks through all the subparts of a
101 as with the :class:`Generator` base class.