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

Commit37c93de

Browse files
committed
A couple more small docstring refinements
- Single vs. double backtick error/inconsistency in one place (parameter names were in in doubled backticks, now single)- Undo making "Iterator" in the phrase "Iterator yielding" a reference to collections.abc.Iterator, which is unnecessary and not done anywhere else.
1 parentf43292e commit37c93de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎git/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,8 +920,8 @@ def rename_section(self, section: str, new_name: str) -> "GitConfigParser":
920920
:raise ValueError:
921921
If:
922922
923-
* ``section`` doesn't exist.
924-
* A section with ``new_name`` does already exist.
923+
* `section` doesn't exist.
924+
* A section with `new_name` does already exist.
925925
926926
:return:
927927
This instance

‎git/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ def iter_items(cls, repo: "Repo", *args: Any, **kwargs: Any) -> Iterator[T_Itera
12571257
keyword arguments, subclasses are obliged to to yield all items.
12581258
12591259
:return:
1260-
:class:`~collections.abc.Iterator` yielding Items
1260+
Iterator yielding Items
12611261
"""
12621262
raiseNotImplementedError("To be implemented by Subclass")
12631263

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp