summaryrefslogtreecommitdiffstats
path: root/Lib/mimetools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/mimetools.py')
-rw-r--r--Lib/mimetools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py
index 5dd5396..02963b5 100644
--- a/Lib/mimetools.py
+++ b/Lib/mimetools.py
@@ -6,7 +6,8 @@ import rfc822
import tempfile
from warnings import warnpy3k
-warnpy3k("in 3.x, mimetools has been removed in favor of the email package")
+warnpy3k("in 3.x, mimetools has been removed in favor of the email package",
+ stacklevel=2)
__all__ = ["Message","choose_boundary","encode","decode","copyliteral",
"copybinary"]