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

Commit0d6c68a

Browse files
committed
Fix ref to git.refresh in refresh methods' docstrings
1 parent7fbfc77 commit0d6c68a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

‎git/cmd.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,9 @@ def __setstate__(self, d: Dict[str, Any]) -> None:
389389

390390
@classmethod
391391
defrefresh(cls,path:Union[None,PathLike]=None)->bool:
392-
"""This gets called by the refresh function (see the top level ``__init__``).
392+
"""This gets called by the :func:`git.refresh` function.
393+
394+
See the top level ``__init__.py``.
393395
394396
:param path:
395397
Optional path to the git executable. If not absolute, it is resolved

‎git/remote.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,10 @@ class FetchInfo(IterableObj):
338338

339339
@classmethod
340340
defrefresh(cls)->Literal[True]:
341-
"""This gets called by the refresh function (see the top level ``__init__``)."""
341+
"""This gets called by the :func:`git.refresh` function.
342+
343+
See the top level ``__init__.py``.
344+
"""
342345
# Clear the old values in _flag_map.
343346
withcontextlib.suppress(KeyError):
344347
delcls._flag_map["t"]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp