diff --git a/importlib_resources/_common.py b/importlib_resources/_common.py index e140def7..37187482 100644 --- a/importlib_resources/_common.py +++ b/importlib_resources/_common.py @@ -7,7 +7,7 @@ import importlib from typing import Union, Any, Optional -from .abc import ResourceReader +from .abc import ResourceReader, Traversable from ._compat import wrap_spec @@ -15,6 +15,7 @@ def files(package): + # type: (Package) -> Traversable """ Get a Traversable resource from a package """