Skip to content

Commit 4f01b39

Browse files
committed
Merge branch 'issue38' into 'master'
Expose Package, Resource, and ResourceReader in the namespace Closes python#38 See merge request python-devs/importlib_resources!41
2 parents 8d6e24d + 941a19c commit 4f01b39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

importlib_resources/__init__.py

+2-1
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)