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

Commited58e2f

Browse files
committed
Rmv runtime_checkable < py3.8 pt2
1 parente6f340c commited58e2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎git/objects/submodule/base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def _set_cache_(self, attr: str) -> None:
142142
reader:SectionConstraint=self.config_reader()
143143
# default submodule values
144144
try:
145-
self.path=reader.get('path')
145+
self.path:PathLike=reader.get('path')
146146
exceptcp.NoSectionErrorase:
147147
ifself.repo.working_tree_dirisnotNone:
148148
raiseValueError("This submodule instance does not exist anymore in '%s' file"

‎git/types.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
importos
66
importsys
77
fromtypingimport (Callable,Dict,NoReturn,Tuple,Union,Any,Iterator,# noqa: F401
8-
NamedTuple,TYPE_CHECKING,TypeVar,runtime_checkable)# noqa: F401
8+
NamedTuple,TYPE_CHECKING,TypeVar)# noqa: F401
99

1010

1111
ifsys.version_info[:2]>= (3,8):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp