Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4236b29

Browse files
author
Predeactor
committed
fix: remove bytes type of PathLike
Signed-off-by: Predeactor <predeactor0@gmail.com>
1 parente176e54 commit4236b29

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
ifsys.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)

[8]ページ先頭

©2009-2025 Movatter.jp