Skip to content

Commit 941a19c

Browse files
committed
Expose Package, Resource, and ResourceReader in the namespace
Closes python#38
1 parent 8d6e24d commit 941a19c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

importlib_resources/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
if sys.version_info >= (3,):
99
from importlib_resources._py3 import (
10-
contents, is_resource, open, path, read)
10+
contents, is_resource, open, path, read, Package, Resource)
11+
from importlib_resources.abc import ResourceReader
1112
else:
1213
from importlib_resources._py2 import (
1314
contents, is_resource, open, path, read)

0 commit comments

Comments
 (0)