summaryrefslogtreecommitdiffstats
path: root/Lib/imp.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2021-04-03 22:31:15 (GMT)
committerGitHub <noreply@github.com>2021-04-03 22:31:15 (GMT)
commitdc6d3e1e4c0c1e4b2210edab8fb4762569dc2936 (patch)
tree80ae8d9059b68a4803a02c7269dba190f7596678 /Lib/imp.py
parentc5354c045c1067549554c35485a12afdcf88a202 (diff)
downloadcpython-dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936.zip
cpython-dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936.tar.gz
cpython-dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936.tar.bz2
bpo-43720: Update import-related stdlib deprecation messages to say they will be removed in Python 3.12 (GH-25167)
Diffstat (limited to 'Lib/imp.py')
-rw-r--r--Lib/imp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/imp.py b/Lib/imp.py
index 31f8c76..e02aaef 100644
--- a/Lib/imp.py
+++ b/Lib/imp.py
@@ -28,7 +28,8 @@ import tokenize
import types
import warnings
-warnings.warn("the imp module is deprecated in favour of importlib; "
+warnings.warn("the imp module is deprecated in favour of importlib and slated "
+ "for removal in Python 3.12; "
"see the module's documentation for alternative uses",
DeprecationWarning, stacklevel=2)