Skip to content

gh-101100: Fix Sphinx warnings in library/email.compat32-message.rst #136323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Doc/library/email.compat32-message.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Here are the methods of the :class:`Message` class:
:meth:`set_payload` instead.

This is a legacy method. On the
:class:`~email.emailmessage.EmailMessage` class its functionality is
:class:`~email.message.EmailMessage` class its functionality is
replaced by :meth:`~email.message.EmailMessage.set_content` and the
related ``make`` and ``add`` methods.

Expand Down Expand Up @@ -224,7 +224,7 @@ Here are the methods of the :class:`Message` class:
ASCII charset.

This is a legacy method. On the
:class:`~email.emailmessage.EmailMessage` class its functionality is
:class:`~email.message.EmailMessage` class its functionality is
replaced by :meth:`~email.message.EmailMessage.get_content` and
:meth:`~email.message.EmailMessage.iter_parts`.

Expand All @@ -236,7 +236,7 @@ Here are the methods of the :class:`Message` class:
the message's default character set; see :meth:`set_charset` for details.

This is a legacy method. On the
:class:`~email.emailmessage.EmailMessage` class its functionality is
:class:`~email.message.EmailMessage` class its functionality is
replaced by :meth:`~email.message.EmailMessage.set_content`.


Expand Down Expand Up @@ -265,9 +265,9 @@ Here are the methods of the :class:`Message` class:
using that :mailheader:`Content-Transfer-Encoding` and is not modified.

This is a legacy method. On the
:class:`~email.emailmessage.EmailMessage` class its functionality is
:class:`~email.message.EmailMessage` class its functionality is
replaced by the *charset* parameter of the
:meth:`email.emailmessage.EmailMessage.set_content` method.
:meth:`email.message.EmailMessage.set_content` method.


.. method:: get_charset()
Expand All @@ -276,7 +276,7 @@ Here are the methods of the :class:`Message` class:
message's payload.

This is a legacy method. On the
:class:`~email.emailmessage.EmailMessage` class it always returns
:class:`~email.message.EmailMessage` class it always returns
``None``.


Expand Down Expand Up @@ -486,7 +486,7 @@ Here are the methods of the :class:`Message` class:
search instead of :mailheader:`Content-Type`.

This is a legacy method. On the
:class:`~email.emailmessage.EmailMessage` class its functionality is
:class:`~email.message.EmailMessage` class its functionality is
replaced by the *params* property of the individual header objects
returned by the header access methods.

Expand Down Expand Up @@ -524,7 +524,7 @@ Here are the methods of the :class:`Message` class:
to ``False``.

This is a legacy method. On the
:class:`~email.emailmessage.EmailMessage` class its functionality is
:class:`~email.message.EmailMessage` class its functionality is
replaced by the *params* property of the individual header objects
returned by the header access methods.

Expand Down Expand Up @@ -579,7 +579,7 @@ Here are the methods of the :class:`Message` class:
header is also added.

This is a legacy method. On the
:class:`~email.emailmessage.EmailMessage` class its functionality is
:class:`~email.message.EmailMessage` class its functionality is
replaced by the ``make_`` and ``add_`` methods.


Expand Down
1 change: 0 additions & 1 deletion Doc/tools/.nitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Doc/extending/extending.rst
Doc/library/ast.rst
Doc/library/asyncio-extending.rst
Doc/library/email.charset.rst
Doc/library/email.compat32-message.rst
Doc/library/email.parser.rst
Doc/library/exceptions.rst
Doc/library/functools.rst
Expand Down
Loading