summaryrefslogtreecommitdiffstats
path: root/Lib/mimetools.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-12 14:23:49 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-12 14:23:49 (GMT)
commita03722f2784f65d499b94bea348f884999922e38 (patch)
treec199c0f1e97c604b751a20b82db5c6456044b641 /Lib/mimetools.py
parentffae306784a067c9a604856e0886fa9d5e716337 (diff)
downloadcpython-a03722f2784f65d499b94bea348f884999922e38.zip
cpython-a03722f2784f65d499b94bea348f884999922e38.tar.gz
cpython-a03722f2784f65d499b94bea348f884999922e38.tar.bz2
deprecated mimetools
Diffstat (limited to 'Lib/mimetools.py')
-rw-r--r--Lib/mimetools.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py
index 8c1cc19..5dd5396 100644
--- a/Lib/mimetools.py
+++ b/Lib/mimetools.py
@@ -5,6 +5,9 @@ import os
import rfc822
import tempfile
+from warnings import warnpy3k
+warnpy3k("in 3.x, mimetools has been removed in favor of the email package")
+
__all__ = ["Message","choose_boundary","encode","decode","copyliteral",
"copybinary"]