Fix recent inconsistency, using :raise:, not :raises: · gitpython-developers/GitPython@bcc0c27 · GitHub
Skip to content

Commit bcc0c27

Browse files
committed
Fix recent inconsistency, using :raise:, not :raises:
GitPython used :raise: consistently before, but I recently introduced some occurrences of :raises: by accident. This changes those to :raise:.
1 parent c8b6cf0 commit bcc0c27

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

git/index/fun.py

Lines changed: 1 addition & 1 deletion

git/repo/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ def merge_base(self, *rev: TBD, **kwargs: Any) -> List[Union[Commit_ish, None]]:
784784
:class:`~git.objects.commit.Commit`, or is empty if no common merge base
785785
exists.
786786
787-
:raises ValueError:
787+
:raise ValueError:
788788
If fewer than two revisions are provided.
789789
"""
790790
if len(rev) < 2:

git/repo/fun.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)