mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +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:
|
||||
from pickle import dumps, loads
|
||||
|
||||
try:
|
||||
import re
|
||||
except ImportError:
|
||||
raise ImportError, "Cookie.py requires 're' from Python 1.5 or later"
|
||||
import re
|
||||
|
||||
__all__ = ["CookieError","BaseCookie","SimpleCookie","SerialCookie",
|
||||
"SmartCookie","Cookie"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue