Skip to content

Commit

Permalink
Fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Oct 17, 2024
1 parent b959d9f commit 0efd757
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setuptools/_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@

from more_itertools import unique_everseen

if sys.version_info >= (3, 9):
if TYPE_CHECKING:
StrPath: TypeAlias = Union[str, os.PathLike[str]] # Same as _typeshed.StrPath
else:
# Python 3.8 support
StrPath: TypeAlias = Union[str, os.PathLike]


Expand Down

0 comments on commit 0efd757

Please sign in to comment.