8000 bpo-42135 Correct version slated for removal · hugovk/cpython@3f9772e · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f9772e

Browse files
authored
bpo-42135 Correct version slated for removal
importlib.find_loader should also be slated for 3.12 like the others in pythonGH-25169 and as documented in https://docs.python.org/3.11/whatsnew/3.10.html#deprecated
1 parent 85a4748 commit 3f9772e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/importlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def find_loader(name, path=None):
7979
8080
"""
8181
warnings.warn('Deprecated since Python 3.4 and slated for removal in '
82-
'Python 3.10; use importlib.util.find_spec() instead',
82+
'Python 3.12; use importlib.util.find_spec() instead',
8383
DeprecationWarning, stacklevel=2)
8484
try:
8585
loader = sys.modules[name].__loader__

0 commit comments

Comments
 (0)
0