diff options
Diffstat (limited to 'Lib/email')
-rw-r--r-- | Lib/email/mime/application.py | 2 | ||||
-rw-r--r-- | Lib/email/mime/audio.py | 2 | ||||
-rw-r--r-- | Lib/email/mime/image.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/email/mime/application.py b/Lib/email/mime/application.py index 6877e554e1..f67cbad3f0 100644 --- a/Lib/email/mime/application.py +++ b/Lib/email/mime/application.py @@ -17,7 +17,7 @@ class MIMEApplication(MIMENonMultipart): _encoder=encoders.encode_base64, *, policy=None, **_params): """Create an application/* type MIME document. - _data is a string containing the raw application data. + _data contains the bytes for the raw application data. _subtype is the MIME content type subtype, defaulting to 'octet-stream'. diff --git a/Lib/email/mime/audio.py b/Lib/email/mime/audio.py index 4bcd7b224a..7cca3f99f1 100644 --- a/Lib/email/mime/audio.py +++ b/Lib/email/mime/audio.py @@ -46,7 +46,7 @@ class MIMEAudio(MIMENonMultipart): _encoder=encoders.encode_base64, *, policy=None, **_params): """Create an audio/* type MIME document. - _audiodata is a string containing the raw audio data. If this data + _audiodata contains the bytes for the raw audio data. If this data can be decoded by the standard Python `sndhdr' module, then the subtype will be automatically included in the Content-Type header. Otherwise, you can specify the specific audio subtype via the diff --git a/Lib/email/mime/image.py b/Lib/email/mime/image.py index 92724643cd..6dc7ec4ca2 100644 --- a/Lib/email/mime/image.py +++ b/Lib/email/mime/image.py @@ -20,7 +20,7 @@ class MIMEImage(MIMENonMultipart): _encoder=encoders.encode_base64, *, policy=None, **_params): """Create an image/* type MIME document. - _imagedata is a string containing the raw image data. If this data + _imagedata contains the bytes for the raw image data. If the data can be decoded by the standard Python `imghdr' module, then the subtype will be automatically included in the Content-Type header. Otherwise, you can specify the specific image subtype via the _subtype |