summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Gerard <info@content-baer.de>2022-08-20 12:39:46 +0100
committerPatrick Gerard <info@content-baer.de>2022-08-20 12:39:46 +0100
commit849ca590185360713b89ad1fadb1eda2deeb4f7f (patch)
treef18a401dbf05d96b083656bdfd76c7e5198fe676
parent1cf7e92aa310456945ae7da16f253b1331027a5b (diff)
downloadgitpython-849ca590185360713b89ad1fadb1eda2deeb4f7f.tar.gz
fix: sphinx syntax
-rw-r--r--git/repo/base.py2
1 files changed, 1 insertions, 1 deletions
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