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

Commitebe53dd

Browse files
authored
Update remote.py
1 parent212dbb0 commitebe53dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/refs/remote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# typing ------------------------------------------------------------------
1111

12-
fromtypingimportAny,NoReturn,Union,TYPE_CHECKING
12+
fromtypingimportAny,Iterator,NoReturn,Union,TYPE_CHECKING
1313
fromgit.typesimportPathLike
1414

1515

@@ -28,7 +28,7 @@ class RemoteReference(Head):
2828
@classmethod
2929
defiter_items(cls,repo:'Repo',common_path:Union[PathLike,None]=None,
3030
remote:Union['Remote',None]=None,*args:Any,**kwargs:Any
31-
)->'RemoteReference':
31+
)->Iterator['RemoteReference']:
3232
"""Iterate remote references, and if given, constrain them to the given remote"""
3333
common_path=common_pathorcls._common_path_default
3434
ifremoteisnotNone:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp