Skip to content

Commit

Permalink
_legacy: fix Resource type hint
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Laíns <[email protected]>
  • Loading branch information
FFY00 committed Oct 23, 2021
1 parent 04973b1 commit 778e547
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 778e547

Please sign in to comment.