From 849ca590185360713b89ad1fadb1eda2deeb4f7f Mon Sep 17 00:00:00 2001 From: Patrick Gerard Date: Sat, 20 Aug 2022 12:39:46 +0100 Subject: fix: sphinx syntax --- git/repo/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git') diff --git a/git/repo/base.py b/git/repo/base.py index 0fed0e4e..a1be5ff9 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -859,7 +859,7 @@ class Repo(object): def active_branch(self) -> Head: """The name of the currently active branch. - Raises: TypeError – If HEAD is detached + :raises TypeError: If HEAD is detached :return: Head to the active branch""" # reveal_type(self.head.reference) # => Reference return self.head.reference -- cgit v1.2.1