diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-03 22:27:31 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-03 22:27:31 +0200 |
commit | 498f0f88898e8b0337c77bab0628969651ca9712 (patch) | |
tree | 59047ff9fbc9f071efbb7ecf839b30d067ffd3af /Lib/imp.py | |
parent | 054e86727183eadfe6b3615f7c60db8a41eda7cc (diff) | |
parent | bd935cadbf4db87094302c4fd4344b2dd5c1494d (diff) | |
download | cpython-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.py | 2 |
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 |