summaryrefslogtreecommitdiffstats
path: root/Lib/MimeWriter.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/MimeWriter.py')
-rw-r--r--Lib/MimeWriter.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/MimeWriter.py b/Lib/MimeWriter.py
index 58c0a0b..e898f9f 100644
--- a/Lib/MimeWriter.py
+++ b/Lib/MimeWriter.py
@@ -14,6 +14,11 @@ import mimetools
__all__ = ["MimeWriter"]
+import warnings
+
+warnings.warn("the MimeWriter module is deprecated; use the email package instead",
+ DeprecationWarning, 2)
+
class MimeWriter:
"""Generic MIME writer.