Skip to content

Commit 849ca59

Browse files
author
Patrick Gerard
committed
fix: sphinx syntax
1 parent 1cf7e92 commit 849ca59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/repo/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ def ignored(self, *paths: PathLike) -> List[str]:
859859
def active_branch(self) -> Head:
860860
"""The name of the currently active branch.
861861
862-
Raises: TypeError If HEAD is detached
862+
:raises TypeError: If HEAD is detached
863863
:return: Head to the active branch"""
864864
# reveal_type(self.head.reference) # => Reference
865865
return self.head.reference

0 commit comments

Comments
 (0)