Skip to content

Commit 6971a93

Browse files
aureliojargasjeking3
authored andcommitted
Fix typo in docstring
1 parent 0f6bf79 commit 6971a93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/repo/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -559,11 +559,11 @@ def merge_base(self, *rev, **kwargs):
559559
return res
560560

561561
def is_ancestor(self, ancestor_rev, rev):
562-
"""Check if a commit is 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 an accestor to rev.
566+
:return: ``True``, ancestor_rev is an ancestor to rev.
567567
"""
568568
try:
569569
self.git.merge_base(ancestor_rev, rev, is_ancestor=True)

0 commit comments

Comments
 (0)