Skip to content

Commit 234091f

Browse files
LamentXU123miss-islington
authored andcommitted
pythongh-101100: Fix Sphinx warnings in library/email.compat32-message.rst (pythonGH-136323)
(cherry picked from commit 0b62523) Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
1 parent eea2af3 commit 234091f

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

Doc/library/email.compat32-message.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Here are the methods of the :class:`Message` class:
181181
:meth:`set_payload` instead.
182182

183183
This is a legacy method. On the
184-
:class:`~email.emailmessage.EmailMessage` class its functionality is
184+
:class:`~email.message.EmailMessage` class its functionality is
185185
replaced by :meth:`~email.message.EmailMessage.set_content` and the
186186
related ``make`` and ``add`` methods.
187187

@@ -224,7 +224,7 @@ Here are the methods of the :class:`Message` class:
224224
ASCII charset.
225225

226226
This is a legacy method. On the
227-
:class:`~email.emailmessage.EmailMessage` class its functionality is
227+
:class:`~email.message.EmailMessage` class its functionality is
228228
replaced by :meth:`~email.message.EmailMessage.get_content` and
229229
:meth:`~email.message.EmailMessage.iter_parts`.
230230

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

238238
This is a legacy method. On the
239-
:class:`~email.emailmessage.EmailMessage` class its functionality is
239+
:class:`~email.message.EmailMessage` class its functionality is
240240
replaced by :meth:`~email.message.EmailMessage.set_content`.
241241

242242

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

267267
This is a legacy method. On the
268-
:class:`~email.emailmessage.EmailMessage` class its functionality is
268+
:class:`~email.message.EmailMessage` class its functionality is
269269
replaced by the *charset* parameter of the
270-
:meth:`email.emailmessage.EmailMessage.set_content` method.
270+
:meth:`email.message.EmailMessage.set_content` method.
271271

272272

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

278278
This is a legacy method. On the
279-
:class:`~email.emailmessage.EmailMessage` class it always returns
279+
:class:`~email.message.EmailMessage` class it always returns
280280
``None``.
281281

282282

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

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

@@ -524,7 +524,7 @@ Here are the methods of the :class:`Message` class:
524524
to ``False``.
525525

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

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

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

585585

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Doc/library/ast.rst
1616
Doc/library/asyncio-extending.rst
1717
Doc/library/asyncio-policy.rst
1818
Doc/library/email.charset.rst
19-
Doc/library/email.compat32-message.rst
2019
Doc/library/email.parser.rst
2120
Doc/library/exceptions.rst
2221
Doc/library/functools.rst

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy