mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
add py3k warnings to rfc822
This commit is contained in:
parent
6fd3321d6c
commit
26305a03e3
5 changed files with 10 additions and 3 deletions
|
@ -73,6 +73,9 @@ 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")
|
||||
|
||||
__all__ = ["Message","AddressList","parsedate","parsedate_tz","mktime_tz"]
|
||||
|
||||
_blanklines = ('\r\n', '\n') # Optimization for islast()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue