mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-121604: fix ResourceLoader deprecation warning message (GH-128859)
This commit is contained in:
parent
5eee2fe2b0
commit
d05140f9f7
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class ResourceLoader(Loader):
|
|||
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__()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue