Skip to content

Navigation Menu

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

Appearance settings

Commit 37c93de

Browse filesBrowse 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 parent f43292e commit 37c93de
Copy full SHA for 37c93de

File tree

2 files changed

+3
-3
lines changed
Filter options

2 files changed

+3
-3
lines changed

‎git/config.py

Copy file name to clipboardExpand all lines: git/config.py
+2-2Lines 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

Copy file name to clipboardExpand all lines: git/util.py
+1-1Lines 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
raise NotImplementedError("To be implemented by Subclass")
12631263

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.