diff options
| author | Brett Cannon <brett@python.org> | 2021-04-03 15:31:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-03 15:31:15 -0700 |
| commit | dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936 (patch) | |
| tree | 80ae8d9059b68a4803a02c7269dba190f7596678 /Lib/imp.py | |
| parent | c5354c045c1067549554c35485a12afdcf88a202 (diff) | |
| download | cpython-git-dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936.tar.gz | |
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
diff --git a/Lib/imp.py b/Lib/imp.py index 31f8c76638..e02aaef344 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) |
