diff --git a/importlib_resources/__init__.py b/importlib_resources/__init__.py index e6b60c1..ae83cd0 100644 --- a/importlib_resources/__init__.py +++ b/importlib_resources/__init__.py @@ -4,6 +4,7 @@ as_file, files, Package, + Anchor, ) from .abc import ResourceReader @@ -11,6 +12,7 @@ __all__ = [ 'Package', + 'Anchor', 'ResourceReader', 'as_file', 'files', diff --git a/newsfragments/+.feature.rst b/newsfragments/+.feature.rst new file mode 100644 index 0000000..51b4d14 --- /dev/null +++ b/newsfragments/+.feature.rst @@ -0,0 +1 @@ +Add ``Anchor`` to ``importlib.resources`` (in order for the code to comply with the documentation)