Skip to content

Commit 626c703

Browse files
committed
fix ResourceLoader deprecation warning
1 parent ae7f621 commit 626c703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/importlib/abc.py

Lines changed: 1 addition & 1 deletion
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)