Skip to content

Commit ebe53dd

Browse files
authored
Update remote.py
1 parent 212dbb0 commit ebe53dd

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-
from typing import Any, NoReturn, Union, TYPE_CHECKING
12+
from typing import Any, Iterator, NoReturn, Union, TYPE_CHECKING
1313
from git.types import PathLike
1414

1515

@@ -28,7 +28,7 @@ class RemoteReference(Head):
2828
@classmethod
2929
def iter_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_path or cls._common_path_default
3434
if remote is not None:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy