From 5a3277253de7bbcee1b2180578a7d29958a10488 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 11 May 2008 21:54:09 +0000 Subject: Add a deprecation notice to mailbox' old classes' doc. --- Doc/library/mailbox.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- cgit v0.12