Skip to content

Commit d05140f

Browse files
authored
gh-121604: fix ResourceLoader deprecation warning message (GH-128859)
1 parent 5eee2fe commit d05140f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/importlib/abc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __init__(self):
7474
import warnings
7575
warnings.warn('importlib.abc.ResourceLoader is deprecated in '
7676
'favour of supporting resource loading through '
77-
'importlib.resources.abc.ResourceReader.',
77+
'importlib.resources.abc.TraversableResources.',
7878
DeprecationWarning, stacklevel=2)
7979
super().__init__()
8080

0 commit comments

Comments
 (0)