mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Add deprecation notices to the documentation to reflect recent additions to
PEP 4.
This commit is contained in:
parent
6f30a8ab62
commit
4613876ee3
4 changed files with 19 additions and 1 deletions
|
@ -4,6 +4,10 @@
|
|||
\declaremodule{standard}{mimetools}
|
||||
\modulesynopsis{Tools for parsing MIME-style message bodies.}
|
||||
|
||||
\deprecated{2.3}{The \refmodule{email} package should be used in
|
||||
preference to the \module{mimetools} module. This
|
||||
module is present only to maintain backward
|
||||
compatibility.}
|
||||
|
||||
This module defines a subclass of the
|
||||
\refmodule{rfc822}\refstmodindex{rfc822} module's
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
\modulesynopsis{Generic MIME file writer.}
|
||||
\sectionauthor{Christopher G. Petrilli}{petrilli@amber.org}
|
||||
|
||||
\deprecated{2.3}{The \refmodule{email} package should be used in
|
||||
preference to the \module{MimeWriter} module. This
|
||||
module is present only to maintain backward
|
||||
compatibility.}
|
||||
|
||||
This module defines the class \class{MimeWriter}. The
|
||||
\class{MimeWriter} class implements a basic formatter for creating
|
||||
MIME multi-part files. It doesn't seek around the output file nor
|
||||
|
|
|
@ -4,8 +4,12 @@
|
|||
\declaremodule{standard}{mimify}
|
||||
\modulesynopsis{Mimification and unmimification of mail messages.}
|
||||
|
||||
\deprecated{2.3}{The \refmodule{email} package should be used in
|
||||
preference to the \module{mimify} module. This
|
||||
module is present only to maintain backward
|
||||
compatibility.}
|
||||
|
||||
The mimify module defines two functions to convert mail messages to
|
||||
The \module{mimify} module defines two functions to convert mail messages to
|
||||
and from MIME format. The mail message can be either a simple message
|
||||
or a so-called multipart message. Each part is treated separately.
|
||||
Mimifying (a part of) a message entails encoding the message as
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
\declaremodule{standard}{rfc822}
|
||||
\modulesynopsis{Parse \rfc{2822} style mail messages.}
|
||||
|
||||
\deprecated{2.3}{The \refmodule{email} package should be used in
|
||||
preference to the \module{rfc822} module. This
|
||||
module is present only to maintain backward
|
||||
compatibility.}
|
||||
|
||||
This module defines a class, \class{Message}, which represents an
|
||||
``email message'' as defined by the Internet standard
|
||||
\rfc{2822}.\footnote{This module originally conformed to \rfc{822},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue