Skip to content

Commit 0ffdeed

Browse files
authored
Merge pull request #242 from FFY00/fix-resources-type-hint
_legacy: fix Resource type hint
2 parents 04973b1 + 778e547 commit 0ffdeed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

importlib_resources/_legacy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from . import _common
1010

1111
Package = Union[types.ModuleType, str]
12-
Resource = Union[str, os.PathLike]
12+
Resource = str
1313

1414

1515
def deprecated(func):

0 commit comments

Comments
 (0)