summaryrefslogtreecommitdiff
path: root/Lib/email/mime/image.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/email/mime/image.py')
-rw-r--r--Lib/email/mime/image.py2
1 files changed, 1 insertions, 1 deletions
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