Skip to content

Commit

Permalink
Merge pull request #242 from FFY00/fix-resources-type-hint
Browse files Browse the repository at this point in the history
_legacy: fix Resource type hint
  • Loading branch information
jaraco authored Oct 30, 2021
2 parents 04973b1 + 778e547 commit 0ffdeed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion importlib_resources/_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from . import _common

Package = Union[types.ModuleType, str]
Resource = Union[str, os.PathLike]
Resource = str


def deprecated(func):
Expand Down

0 comments on commit 0ffdeed

Please sign in to comment.