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

Commitf3e78d9

Browse files
committed
Correct doc errors
revA..revB → revA...revB (three instead of two dots) [base.py, line467](https://github.com/gitpython-developers/GitPython/blob/master/git/repo/base.py#L467)rorepo is a ~~a~~ Repo instance [test_docs.py, line21](https://github.com/gitpython-developers/GitPython/blob/master/git/test/test_docs.py#L21)closes#314
1 parent6ee9751 commitf3e78d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎git/repo/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def iter_commits(self, rev=None, paths='', **kwargs):
464464
max_count and skip
465465
466466
:note: to receive only commits between two named revisions, use the
467-
"revA..revB" revision specifier
467+
"revA...revB" revision specifier
468468
469469
:return ``git.Commit[]``"""
470470
ifrevisNone:

‎git/test/test_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_init_repo_object(self, rw_dir):
1818
fromgitimportRepo
1919
join=os.path.join
2020

21-
# rorepo is aaRepo instance pointing to the git-python repository.
21+
# rorepo is a Repo instance pointing to the git-python repository.
2222
# For all you know, the first argument to Repo is a path to the repository
2323
# you want to work with
2424
repo=Repo(self.rorepo.working_tree_dir)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp