Skip to content

Commit

Permalink
fix(utils): remove PathLike GenericAlias subscript for py <3.8
Browse files Browse the repository at this point in the history
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
  • Loading branch information
BradenM committed Dec 11, 2022
1 parent d2d0ed8 commit e22343a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micropy/utils/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from typing_extensions import Protocol, TypeAlias, runtime_checkable

# PathLike string or string type alias.
PathStr: TypeAlias = Union[str, PathLike[str]]
PathStr: TypeAlias = Union[str, PathLike]


@runtime_checkable
Expand Down

0 comments on commit e22343a

Please sign in to comment.