@@ -550,8 +550,8 @@ def resolve_blobs(self, iter_blobs: Iterator[Blob]) -> "IndexFile":
550550 This will effectively remove the index entries of the respective path at all
551551 non-null stages and add the given blob as new stage null blob.
552552
553- For each path there may only be one blob, otherwise a :class :`ValueError` will
554- be raised claiming the path is already at stage 0.
553+ For each path there may only be one blob, otherwise a :exc :`ValueError` will be
554+ raised claiming the path is already at stage 0.
555555
556556 :raise ValueError:
557557 If one of the blobs already existed at stage 0.
@@ -644,8 +644,8 @@ def _process_diff_args(
644644def _to_relative_path (self ,path :PathLike )-> PathLike :
645645"""
646646 :return:
647- Version of path relative to our git directory or raise :class :`ValueError`
648- if it is not within our git directory.
647+ Version of path relative to our git directory or raise :exc :`ValueError` if
648+ it is not within our git directory.
649649
650650 :raise ValueError:
651651 """
@@ -1215,7 +1215,7 @@ def checkout(
12151215 :param force:
12161216 If ``True``, existing files will be overwritten even if they contain local
12171217 modifications.
1218- If ``False``, these will trigger a :class :`~git.exc.CheckoutError`.
1218+ If ``False``, these will trigger a :exc :`~git.exc.CheckoutError`.
12191219
12201220 :param fprogress:
12211221 See :meth:`IndexFile.add` for signature and explanation.