diff options
Diffstat (limited to 'Lib/rfc822.py')
-rw-r--r-- | Lib/rfc822.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 4382a51..64cd702 100644 --- a/Lib/rfc822.py +++ b/Lib/rfc822.py @@ -74,7 +74,8 @@ There are also some utility functions here. import time from warnings import warnpy3k -warnpy3k("in 3.x, rfc822 has been removed in favor of the email package") +warnpy3k("in 3.x, rfc822 has been removed in favor of the email package", + stacklevel=2) __all__ = ["Message","AddressList","parsedate","parsedate_tz","mktime_tz"] |