Skip to content

Commit

Permalink
pythongh-101100: Fix sphinx warnings in library/email.mime.rst (pyt…
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored and Glyphack committed Jan 27, 2024
1 parent 39e669a commit aa3fc7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Doc/library/email.mime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ make things easier.

Here are the classes:

.. currentmodule:: email.mime.base
.. module:: email.mime.base

.. class:: MIMEBase(_maintype, _subtype, *, policy=compat32, **_params)

Expand Down Expand Up @@ -58,7 +58,7 @@ Here are the classes:
Added *policy* keyword-only parameter.


.. currentmodule:: email.mime.nonmultipart
.. module:: email.mime.nonmultipart

.. class:: MIMENonMultipart()

Expand All @@ -72,7 +72,7 @@ Here are the classes:
is called, a :exc:`~email.errors.MultipartConversionError` exception is raised.


.. currentmodule:: email.mime.multipart
.. module:: email.mime.multipart

.. class:: MIMEMultipart(_subtype='mixed', boundary=None, _subparts=None, \
*, policy=compat32, **_params)
Expand Down Expand Up @@ -104,7 +104,7 @@ Here are the classes:
.. versionchanged:: 3.6
Added *policy* keyword-only parameter.

.. currentmodule:: email.mime.application
.. module:: email.mime.application

.. class:: MIMEApplication(_data, _subtype='octet-stream', \
_encoder=email.encoders.encode_base64, \
Expand Down Expand Up @@ -135,7 +135,7 @@ Here are the classes:
.. versionchanged:: 3.6
Added *policy* keyword-only parameter.

.. currentmodule:: email.mime.audio
.. module:: email.mime.audio

.. class:: MIMEAudio(_audiodata, _subtype=None, \
_encoder=email.encoders.encode_base64, \
Expand Down Expand Up @@ -169,7 +169,7 @@ Here are the classes:
.. versionchanged:: 3.6
Added *policy* keyword-only parameter.

.. currentmodule:: email.mime.image
.. module:: email.mime.image

.. class:: MIMEImage(_imagedata, _subtype=None, \
_encoder=email.encoders.encode_base64, \
Expand Down Expand Up @@ -205,7 +205,7 @@ Here are the classes:
.. versionchanged:: 3.6
Added *policy* keyword-only parameter.

.. currentmodule:: email.mime.message
.. module:: email.mime.message

.. class:: MIMEMessage(_msg, _subtype='rfc822', *, policy=compat32)

Expand All @@ -225,7 +225,7 @@ Here are the classes:
.. versionchanged:: 3.6
Added *policy* keyword-only parameter.

.. currentmodule:: email.mime.text
.. module:: email.mime.text

.. class:: MIMEText(_text, _subtype='plain', _charset=None, *, policy=compat32)

Expand Down
1 change: 0 additions & 1 deletion Doc/tools/.nitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Doc/library/decimal.rst
Doc/library/email.charset.rst
Doc/library/email.compat32-message.rst
Doc/library/email.errors.rst
Doc/library/email.mime.rst
Doc/library/email.parser.rst
Doc/library/email.policy.rst
Doc/library/enum.rst
Expand Down

0 comments on commit aa3fc7a

Please sign in to comment.