summaryrefslogtreecommitdiffstats
path: root/Lib/imp.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2015-10-16 19:21:37 (GMT)
committerBrett Cannon <brett@python.org>2015-10-16 19:21:37 (GMT)
commitc0d91aff9a3b91307b26e8b7c34dfbf27bbdd43a (patch)
tree160a62668441c5264ab0e27e9900094e3006bbd3 /Lib/imp.py
parentaa15ea4b4e15a5350c34fe1ef0b8761d92fd4688 (diff)
downloadcpython-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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imp.py b/Lib/imp.py
index f6fff44..b339952 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