summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-11 21:54:09 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-11 21:54:09 (GMT)
commit5a3277253de7bbcee1b2180578a7d29958a10488 (patch)
tree03e915092b2c9ad3cdb33ea8afe7d2eb72844c75 /Doc
parentd61c70d45f15b31ec369929f1c089e1371da4dd0 (diff)
downloadcpython-5a3277253de7bbcee1b2180578a7d29958a10488.zip
cpython-5a3277253de7bbcee1b2180578a7d29958a10488.tar.gz
cpython-5a3277253de7bbcee1b2180578a7d29958a10488.tar.bz2
Add a deprecation notice to mailbox' old classes' doc.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/mailbox.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/mailbox.rst b/Doc/library/mailbox.rst
index 38765ed..79fe72f 100644
--- a/Doc/library/mailbox.rst
+++ b/Doc/library/mailbox.rst
@@ -1507,11 +1507,13 @@ The following exception classes are defined in the :mod:`mailbox` module:
Deprecated classes and methods
------------------------------
+.. deprecated:: 2.6
+
Older versions of the :mod:`mailbox` module do not support modification of
mailboxes, such as adding or removing message, and do not provide classes to
represent format-specific message properties. For backward compatibility, the
older mailbox classes are still available, but the newer classes should be used
-in preference to them.
+in preference to them. The old classes will be removed in Python 3.0.
Older mailbox objects support only iteration and provide a single public method: