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

Commit2303971

Browse files
author
Predeactor
committed
fix: incorrect PathLike corrected
Signed-off-by: Predeactor <predeactor0@gmail.com>
1 parent4236b29 commit2303971

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040

4141

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

4848
ifTYPE_CHECKING:
4949
fromgit.repoimportRepo

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp