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

Commit6971a93

Browse files
aureliojargasjeking3
authored andcommitted
Fix typo in docstring
1 parent0f6bf79 commit6971a93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/repo/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,11 +559,11 @@ def merge_base(self, *rev, **kwargs):
559559
returnres
560560

561561
defis_ancestor(self,ancestor_rev,rev):
562-
"""Check if a commitis an ancestor of another
562+
"""Check if a commit is an ancestor of another
563563
564564
:param ancestor_rev: Rev which should be an ancestor
565565
:param rev: Rev to test against ancestor_rev
566-
:return: ``True``, ancestor_rev is anaccestor to rev.
566+
:return: ``True``, ancestor_rev is anancestor to rev.
567567
"""
568568
try:
569569
self.git.merge_base(ancestor_rev,rev,is_ancestor=True)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp