summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2021-09-13 22:57:50 (GMT)
committerGitHub <noreply@github.com>2021-09-13 22:57:50 (GMT)
commit9f93018b69d72cb48d3444554261ae3b0ea00c93 (patch)
tree8bf891e2003ad01daba9cf1fe70a11790d53074b /Lib/importlib
parenta2d8c4b81b8e68e2ffe10945f7ca69174c14e52a (diff)
downloadcpython-9f93018b69d72cb48d3444554261ae3b0ea00c93.zip
cpython-9f93018b69d72cb48d3444554261ae3b0ea00c93.tar.gz
cpython-9f93018b69d72cb48d3444554261ae3b0ea00c93.tar.bz2
bpo-42135 Correct version slated for importlib.find_loader removal (GH-28312)
importlib.find_loader should also be slated for 3.12 like the others in GH-25169 and as documented in https://docs.python.org/3.11/whatsnew/3.10.html#deprecated.
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/__init__.py b/Lib/importlib/__init__.py
index a510f08..ce61883 100644
--- a/Lib/importlib/__init__.py
+++ b/Lib/importlib/__init__.py
@@ -79,7 +79,7 @@ def find_loader(name, path=None):
"""
warnings.warn('Deprecated since Python 3.4 and slated for removal in '
- 'Python 3.10; use importlib.util.find_spec() instead',
+ 'Python 3.12; use importlib.util.find_spec() instead',
DeprecationWarning, stacklevel=2)
try:
loader = sys.modules[name].__loader__