@@ -114,9 +114,9 @@ Here are the classes:
114114
115115 A subclass of :class: `~email.mime.nonmultipart.MIMENonMultipart `, the
116116 :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 `.
120120
121121 Optional *_encoder * is a callable (i.e. function) which will perform the actual
122122 encoding of the data for transport. This callable takes one argument, which is
@@ -145,7 +145,7 @@ Here are the classes:
145145
146146 A subclass of :class: `~email.mime.nonmultipart.MIMENonMultipart `, the
147147 :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
149149 this data can be decoded as au, wav, aiff, or aifc, then the
150150 subtype will be automatically included in the :mailheader: `Content-Type ` header.
151151 Otherwise you can explicitly specify the audio subtype via the *_subtype *
@@ -179,7 +179,7 @@ Here are the classes:
179179
180180 A subclass of :class: `~email.mime.nonmultipart.MIMENonMultipart `, the
181181 :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
183183 this data type can be detected (jpeg, png, gif, tiff, rgb, pbm, pgm, ppm,
184184 rast, xbm, bmp, webp, and exr attempted), then the subtype will be
185185 automatically included in the :mailheader: `Content-Type ` header. Otherwise
0 commit comments