diff options
author | Brett Cannon <brett@python.org> | 2021-04-03 22:31:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 22:31:15 (GMT) |
commit | dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936 (patch) | |
tree | 80ae8d9059b68a4803a02c7269dba190f7596678 /Lib/imp.py | |
parent | c5354c045c1067549554c35485a12afdcf88a202 (diff) | |
download | cpython-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.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |