summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-09-13 23:33:05 (GMT)
committerGitHub <noreply@github.com>2021-09-13 23:33:05 (GMT)
commita390bb6d66027517498e75b6b91a91be5f136d28 (patch)
tree8c5b5ff4fe87b6ee4798a35b7e2ceda0eeb98c3b /Lib
parent06c26f4d2909eae196ac81c9ed9b41e747e42685 (diff)
downloadcpython-a390bb6d66027517498e75b6b91a91be5f136d28.zip
cpython-a390bb6d66027517498e75b6b91a91be5f136d28.tar.gz
cpython-a390bb6d66027517498e75b6b91a91be5f136d28.tar.bz2
bpo-42135 Correct version slated for importlib.find_loader removal (GH-28312) (GH-28321)
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.htmlGH-deprecated. (cherry picked from commit 9f93018b69d72cb48d3444554261ae3b0ea00c93) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Lib')
-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__