Skip to content

Commit

Permalink
fix ResourceLoader deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Jan 15, 2025
1 parent ae7f621 commit 626c703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/importlib/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self):
import warnings
warnings.warn('importlib.abc.ResourceLoader is deprecated in '
'favour of supporting resource loading through '
'importlib.resources.abc.ResourceReader.',
'importlib.resources.abc.TraversableResources.',
DeprecationWarning, stacklevel=2)
super().__init__()

Expand Down

0 comments on commit 626c703

Please sign in to comment.