@@ -61,7 +61,7 @@ To accommodate reproducible processing of SMIME-signed messages
6161
6262 If *maxheaderlen * is not ``None ``, refold any header lines that are longer
6363 than *maxheaderlen *, or if ``0 ``, do not rewrap any headers. If
64- *manheaderlen * is ``None `` (the default), wrap headers and other message
64+ *maxheaderlen * is ``None `` (the default), wrap headers and other message
6565 lines according to the *policy * settings.
6666
6767 If *policy * is specified, use that policy to control message generation. If
@@ -137,7 +137,7 @@ a serialized binary representation of a message object. For more detail, see
137137Because strings cannot represent binary data, the :class: `Generator ` class must
138138convert any binary data in any message it flattens to an ASCII compatible
139139format, by converting them to an ASCII compatible
140- :mailheader: `Content-Transfer_Encoding `. Using the terminology of the email
140+ :mailheader: `Content-Transfer-Encoding `. Using the terminology of the email
141141RFCs, you can think of this as :class: `Generator ` serializing to an I/O stream
142142that is not "8 bit clean". In other words, most applications will want
143143to be using :class: `BytesGenerator `, and not :class: `Generator `.
@@ -162,7 +162,7 @@ to be using :class:`BytesGenerator`, and not :class:`Generator`.
162162
163163 If *maxheaderlen * is not ``None ``, refold any header lines that are longer
164164 than *maxheaderlen *, or if ``0 ``, do not rewrap any headers. If
165- *manheaderlen * is ``None `` (the default), wrap headers and other message
165+ *maxheaderlen * is ``None `` (the default), wrap headers and other message
166166 lines according to the *policy * settings.
167167
168168 If *policy * is specified, use that policy to control message generation. If
@@ -267,7 +267,7 @@ in with information about the part.
267267
268268 "[Non-text (%(type)s) part of message omitted, filename %(filename)s]"
269269
270- Optional *_mangle_from_ * and *maxheaderlen * are as with the
270+ Optional *mangle_from_ * and *maxheaderlen * are as with the
271271 :class: `Generator ` base class.
272272
273273
0 commit comments