mirror of
https://github.com/python/cpython.git
synced 2025-10-18 20:58:48 +00:00
No point in warning about needing re module; remove helpful message
This commit is contained in:
parent
3c76ad0f8d
commit
6cd77126b4
1 changed files with 1 additions and 4 deletions
|
@ -222,10 +222,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from pickle import dumps, loads
|
from pickle import dumps, loads
|
||||||
|
|
||||||
try:
|
import re
|
||||||
import re
|
|
||||||
except ImportError:
|
|
||||||
raise ImportError, "Cookie.py requires 're' from Python 1.5 or later"
|
|
||||||
|
|
||||||
__all__ = ["CookieError","BaseCookie","SimpleCookie","SerialCookie",
|
__all__ = ["CookieError","BaseCookie","SimpleCookie","SerialCookie",
|
||||||
"SmartCookie","Cookie"]
|
"SmartCookie","Cookie"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue