Skip to content

Commit 4236b29

Browse files
author
Predeactor
committedAug 7, 2022
fix: remove bytes type of PathLike
Signed-off-by: Predeactor <[email protected]>
1 parent e176e54 commit 4236b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎git/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141

4242
if sys.version_info[:2] < (3, 9):
43-
PathLike = Union[str, bytes, os.PathLike]
43+
PathLike = Union[str, os.PathLike[str]]
4444
else:
4545
# os.PathLike only becomes subscriptable from Python 3.9 onwards
4646
PathLike = Union[str, bytes, os.PathLike[str], os.PathLike[bytes]]

0 commit comments

Comments
 (0)
Please sign in to comment.