Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4613876

Browse files
committed
Add deprecation notices to the documentation to reflect recent additions to
PEP 4.
1 parent 6f30a8a commit 4613876

4 files changed

Lines changed: 19 additions & 1 deletion

File tree

Doc/lib/libmimetools.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ \section{\module{mimetools} ---
44
\declaremodule{standard}{mimetools}
55
\modulesynopsis{Tools for parsing MIME-style message bodies.}
66

7+
\deprecated{2.3}{The \refmodule{email} package should be used in
8+
preference to the \module{mimetools} module. This
9+
module is present only to maintain backward
10+
compatibility.}
711

812
This module defines a subclass of the
913
\refmodule{rfc822}\refstmodindex{rfc822} module's

Doc/lib/libmimewriter.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ \section{\module{MimeWriter} ---
66
\modulesynopsis{Generic MIME file writer.}
77
\sectionauthor{Christopher G. Petrilli}{[email protected]}
88

9+
\deprecated{2.3}{The \refmodule{email} package should be used in
10+
preference to the \module{MimeWriter} module. This
11+
module is present only to maintain backward
12+
compatibility.}
13+
914
This module defines the class \class{MimeWriter}. The
1015
\class{MimeWriter} class implements a basic formatter for creating
1116
MIME multi-part files. It doesn't seek around the output file nor

Doc/lib/libmimify.tex

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ \section{\module{mimify} ---
44
\declaremodule{standard}{mimify}
55
\modulesynopsis{Mimification and unmimification of mail messages.}
66

7+
\deprecated{2.3}{The \refmodule{email} package should be used in
8+
preference to the \module{mimify} module. This
9+
module is present only to maintain backward
10+
compatibility.}
711

8-
The mimify module defines two functions to convert mail messages to
12+
The \module{mimify} module defines two functions to convert mail messages to
913
and from MIME format. The mail message can be either a simple message
1014
or a so-called multipart message. Each part is treated separately.
1115
Mimifying (a part of) a message entails encoding the message as

Doc/lib/librfc822.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ \section{\module{rfc822} ---
44
\declaremodule{standard}{rfc822}
55
\modulesynopsis{Parse \rfc{2822} style mail messages.}
66

7+
\deprecated{2.3}{The \refmodule{email} package should be used in
8+
preference to the \module{rfc822} module. This
9+
module is present only to maintain backward
10+
compatibility.}
11+
712
This module defines a class, \class{Message}, which represents an
813
``email message'' as defined by the Internet standard
914
\rfc{2822}.\footnote{This module originally conformed to \rfc{822},

0 commit comments

Comments
 (0)