Skip to content

Commit

Permalink
Merge branch 'maint/5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed May 21, 2021
2 parents 388c07b + d768f3c commit 1780b1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion importlib_resources/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
import importlib

from typing import Union, Any, Optional
from .abc import ResourceReader
from .abc import ResourceReader, Traversable

from ._compat import wrap_spec

Package = Union[types.ModuleType, str]


def files(package):
# type: (Package) -> Traversable
"""
Get a Traversable resource from a package
"""
Expand Down

0 comments on commit 1780b1f

Please sign in to comment.