diff options
author | Barry Warsaw <barry@python.org> | 2023-01-14 21:31:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-14 21:31:59 -0800 |
commit | 78c9f39352a04e07ee4de7746c797ca79b5270d7 (patch) | |
tree | 61107eade7b39882dbdf9e16cbf5e84f71196cc8 /Lib/email/mime/audio.py | |
parent | 1981db9de1f2ce4057de8db1497cd924be82a717 (diff) | |
download | cpython-git-78c9f39352a04e07ee4de7746c797ca79b5270d7.tar.gz |
[3.10] gh-101021: Document binary parameters as bytes (GH-101024). (#101052)
(cherry picked from commit 49cae39ef020eaf242607bb2d2d193760b9855a6)
Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
Diffstat (limited to 'Lib/email/mime/audio.py')
-rw-r--r-- | Lib/email/mime/audio.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |