diff --git a/pygit2/index.py b/pygit2/index.py index 1a04cbf..45b37a6 100644 --- a/pygit2/index.py +++ b/pygit2/index.py @@ -329,7 +329,7 @@ class IndexEntry(object): self.id = object_id """The id of the referenced object""" self.mode = mode - """The mode of this entry, a GIT_FILEMODE_ value""" + """The mode of this entry, a GIT_FILEMODE_* value""" @property def oid(self): diff --git a/src/repository.c b/src/repository.c index 5d1c533..a4a4b1d 100644 --- a/src/repository.c +++ b/src/repository.c @@ -548,7 +548,7 @@ PyDoc_STRVAR(Repository_merge_analysis__doc__, "them into the HEAD of the repository\n" "\n" "The first returned value is a mixture of the GIT_MERGE_ANALYSIS_NONE, _NORMAL,\n" - " _UP_TO_DATE, _FASTFORWARD and _UNBORN flags.\n" + "_UP_TO_DATE, _FASTFORWARD and _UNBORN flags.\n" "The second value is the user's preference from 'merge.ff'"); PyObject *