Skip to content

Commit 99f295e

Browse files
committed
docs: fix reST errors
1 parent f063186 commit 99f295e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pygit2/index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def __init__(self, path, object_id, mode):
329329
self.id = object_id
330330
"""The id of the referenced object"""
331331
self.mode = mode
332-
"""The mode of this entry, a GIT_FILEMODE_ value"""
332+
"""The mode of this entry, a GIT_FILEMODE_* value"""
333333

334334
@property
335335
def oid(self):

src/repository.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ PyDoc_STRVAR(Repository_merge_analysis__doc__,
548548
"them into the HEAD of the repository\n"
549549
"\n"
550550
"The first returned value is a mixture of the GIT_MERGE_ANALYSIS_NONE, _NORMAL,\n"
551-
" _UP_TO_DATE, _FASTFORWARD and _UNBORN flags.\n"
551+
"_UP_TO_DATE, _FASTFORWARD and _UNBORN flags.\n"
552552
"The second value is the user's preference from 'merge.ff'");
553553

554554
PyObject *

0 commit comments

Comments
 (0)