diff options
author | Georg Brandl <georg@python.org> | 2009-05-17 11:28:33 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-17 11:28:33 (GMT) |
commit | 3f076d8b3df3a1aa3228bbe993d4f37d577fcc2f (patch) | |
tree | 5af0b00e845c6bad851015467bca470aaeb78c62 /Doc/library/email.mime.rst | |
parent | fe66fc120cfcc10fc38990c6c9c3c8a0b4d585bc (diff) | |
download | cpython-3f076d8b3df3a1aa3228bbe993d4f37d577fcc2f.zip cpython-3f076d8b3df3a1aa3228bbe993d4f37d577fcc2f.tar.gz cpython-3f076d8b3df3a1aa3228bbe993d4f37d577fcc2f.tar.bz2 |
Use new optional argument style in email docs.
Diffstat (limited to 'Doc/library/email.mime.rst')
-rw-r--r-- | Doc/library/email.mime.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/email.mime.rst b/Doc/library/email.mime.rst index 0214d56..703110a 100644 --- a/Doc/library/email.mime.rst +++ b/Doc/library/email.mime.rst @@ -57,7 +57,7 @@ Here are the classes: .. currentmodule:: email.mime.multipart -.. class:: MIMEMultipart([_subtype[, boundary[, _subparts[, _params]]]]) +.. class:: MIMEMultipart(_subtype='mixed', boundary=None, _subparts=None, **_params) Module: :mod:`email.mime.multipart` @@ -82,7 +82,7 @@ Here are the classes: .. currentmodule:: email.mime.application -.. class:: MIMEApplication(_data[, _subtype[, _encoder[, **_params]]]) +.. class:: MIMEApplication(_data, _subtype='octet-stream', _encoder=email.encoders.encode_base64, **_params) Module: :mod:`email.mime.application` @@ -105,7 +105,7 @@ Here are the classes: .. currentmodule:: email.mime.audio -.. class:: MIMEAudio(_audiodata[, _subtype[, _encoder[, **_params]]]) +.. class:: MIMEAudio(_audiodata, _subtype=None, _encoder=email.encoders.encode_base64, **_params) Module: :mod:`email.mime.audio` @@ -131,7 +131,7 @@ Here are the classes: .. currentmodule:: email.mime.image -.. class:: MIMEImage(_imagedata[, _subtype[, _encoder[, **_params]]]) +.. class:: MIMEImage(_imagedata, _subtype=None, _encoder=email.encoders.encode_base64, **_params) Module: :mod:`email.mime.image` @@ -158,7 +158,7 @@ Here are the classes: .. currentmodule:: email.mime.message -.. class:: MIMEMessage(_msg[, _subtype]) +.. class:: MIMEMessage(_msg, _subtype='rfc822') Module: :mod:`email.mime.message` @@ -174,7 +174,7 @@ Here are the classes: .. currentmodule:: email.mime.text -.. class:: MIMEText(_text[, _subtype[, _charset]]) +.. class:: MIMEText(_text, _subtype='plain', _charset='us-ascii') Module: :mod:`email.mime.text` |