summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelio Jargas <verde@aurelio.net>2019-06-17 13:37:50 +0200
committerJames E. King III <jking@apache.org>2019-06-17 07:41:16 -0400
commit6971a930644d56f10e68e818e5818aa5a5d2e646 (patch)
tree890263823bf558887cbb08db082e058d8f0f9c1c
parent0f6bf7948121357a85a8069771919fb13d2cecf9 (diff)
downloadgitpython-6971a930644d56f10e68e818e5818aa5a5d2e646.tar.gz
Fix typo in docstring
-rw-r--r--git/repo/base.py4
1 files changed, 2 insertions, 2 deletions
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)