summaryrefslogtreecommitdiff
path: root/Lib/imp.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-03 22:27:31 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-03 22:27:31 +0200
commit498f0f88898e8b0337c77bab0628969651ca9712 (patch)
tree59047ff9fbc9f071efbb7ecf839b30d067ffd3af /Lib/imp.py
parent054e86727183eadfe6b3615f7c60db8a41eda7cc (diff)
parentbd935cadbf4db87094302c4fd4344b2dd5c1494d (diff)
downloadcpython-498f0f88898e8b0337c77bab0628969651ca9712.tar.gz
Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().
Diffstat (limited to 'Lib/imp.py')
-rw-r--r--Lib/imp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imp.py b/Lib/imp.py
index f6fff44201..b33995267b 100644
--- a/Lib/imp.py
+++ b/Lib/imp.py
@@ -30,7 +30,7 @@ import warnings
warnings.warn("the imp module is deprecated in favour of importlib; "
"see the module's documentation for alternative uses",
- PendingDeprecationWarning, stacklevel=2)
+ DeprecationWarning, stacklevel=2)
# DEPRECATED
SEARCH_ERROR = 0