@@ -114,9 +114,9 @@ Here are the classes:
114
114
115
115
A subclass of :class: `~email.mime.nonmultipart.MIMENonMultipart `, the
116
116
:class: `MIMEApplication ` class is used to represent MIME message objects of
117
- major type :mimetype: `application `. *_data * is a string containing the raw
118
- byte data. Optional *_subtype * specifies the MIME subtype and defaults to
119
- :mimetype: `octet-stream `.
117
+ major type :mimetype: `application `. *_data * contains the bytes for the raw
118
+ application data. Optional *_subtype * specifies the MIME subtype and defaults
119
+ to :mimetype: `octet-stream `.
120
120
121
121
Optional *_encoder * is a callable (i.e. function) which will perform the actual
122
122
encoding of the data for transport. This callable takes one argument, which is
@@ -145,7 +145,7 @@ Here are the classes:
145
145
146
146
A subclass of :class: `~email.mime.nonmultipart.MIMENonMultipart `, the
147
147
:class: `MIMEAudio ` class is used to create MIME message objects of major type
148
- :mimetype: `audio `. *_audiodata * is a string containing the raw audio data. If
148
+ :mimetype: `audio `. *_audiodata * contains the bytes for the raw audio data. If
149
149
this data can be decoded by the standard Python module :mod: `sndhdr `, then the
150
150
subtype will be automatically included in the :mailheader: `Content-Type ` header.
151
151
Otherwise you can explicitly specify the audio subtype via the *_subtype *
@@ -179,7 +179,7 @@ Here are the classes:
179
179
180
180
A subclass of :class: `~email.mime.nonmultipart.MIMENonMultipart `, the
181
181
:class: `MIMEImage ` class is used to create MIME message objects of major type
182
- :mimetype: `image `. *_imagedata * is a string containing the raw image data. If
182
+ :mimetype: `image `. *_imagedata * contains the bytes for the raw image data. If
183
183
this data can be decoded by the standard Python module :mod: `imghdr `, then the
184
184
subtype will be automatically included in the :mailheader: `Content-Type ` header.
185
185
Otherwise you can explicitly specify the image subtype via the *_subtype *
0 commit comments