From 6971a930644d56f10e68e818e5818aa5a5d2e646 Mon Sep 17 00:00:00 2001 From: Aurelio Jargas Date: Mon, 17 Jun 2019 13:37:50 +0200 Subject: Fix typo in docstring --- git/repo/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git') diff --git a/git/repo/base.py b/git/repo/base.py index 58f11e51..5f42dd29 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -559,11 +559,11 @@ class Repo(object): return res def is_ancestor(self, ancestor_rev, rev): - """Check if a commit is an ancestor of another + """Check if a commit is an ancestor of another :param ancestor_rev: Rev which should be an ancestor :param rev: Rev to test against ancestor_rev - :return: ``True``, ancestor_rev is an accestor to rev. + :return: ``True``, ancestor_rev is an ancestor to rev. """ try: self.git.merge_base(ancestor_rev, rev, is_ancestor=True) -- cgit v1.2.1