diff options
author | Brett Cannon <brett@python.org> | 2015-10-16 19:21:37 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2015-10-16 19:21:37 (GMT) |
commit | c0d91aff9a3b91307b26e8b7c34dfbf27bbdd43a (patch) | |
tree | 160a62668441c5264ab0e27e9900094e3006bbd3 /Lib/imp.py | |
parent | aa15ea4b4e15a5350c34fe1ef0b8761d92fd4688 (diff) | |
download | cpython-c0d91aff9a3b91307b26e8b7c34dfbf27bbdd43a.zip cpython-c0d91aff9a3b91307b26e8b7c34dfbf27bbdd43a.tar.gz cpython-c0d91aff9a3b91307b26e8b7c34dfbf27bbdd43a.tar.bz2 |
Upgrade the imp module's deprecation to DeprecationWarning.
Diffstat (limited to 'Lib/imp.py')
-rw-r--r-- | Lib/imp.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |