summaryrefslogtreecommitdiff
path: root/Lib/importlib/resources.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-12-18 18:28:30 -0500
committerJason R. Coombs <jaraco@jaraco.com>2021-12-18 18:29:13 -0500
commit42571d3aadd0a016f9133db99a2cf467267e847b (patch)
treeffc7dc7dc01cddc6973bd9cf9e4cb649258365d1 /Lib/importlib/resources.py
parentfe68486197cb26a69ecce9353271d91adf885cb5 (diff)
downloadcpython-git-bpo-46125/importlib-resources-test-traversable.tar.gz
bpo-46125: Refactor tests to test traversable API directly. Includes changes from importlib_resources 5.4.0.bpo-46125/importlib-resources-test-traversable
Diffstat (limited to 'Lib/importlib/resources.py')
-rw-r--r--Lib/importlib/resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/resources.py b/Lib/importlib/resources.py
index 6cc46283ba..5b3bc0228d 100644
--- a/Lib/importlib/resources.py
+++ b/Lib/importlib/resources.py
@@ -4,7 +4,6 @@ from ._common import (
as_file,
files,
Package,
- Resource,
)
from ._legacy import (
@@ -15,6 +14,7 @@ from ._legacy import (
read_text,
is_resource,
path,
+ Resource,
)
from importlib.abc import ResourceReader