@@ -508,7 +508,7 @@ def iter_blobs(
508508
509509 :param predicate:
510510 Function(t) returning ``True`` if tuple(stage, Blob) should be yielded by
511- the iterator. A default filter, the `~git.index.typ.BlobFilter`, allows you
511+ the iterator. A default filter, the :class: `~git.index.typ.BlobFilter`, allows you
512512 to yield blobs only if they match a given list of paths.
513513 """
514514 for entry in self .entries .values ():
@@ -770,7 +770,7 @@ def add(
770770 - path string
771771
772772 Strings denote a relative or absolute path into the repository pointing
773- to an existing file, e.g., ``CHANGES``, `lib/myfile.ext``,
773+ to an existing file, e.g., ``CHANGES``, `` lib/myfile.ext``,
774774 ``/home/gitrepo/lib/myfile.ext``.
775775
776776 Absolute paths must start with working tree directory of this index's
@@ -789,7 +789,7 @@ def add(
789789
790790 They are added at stage 0.
791791
792- - :class:~` git.objects.blob.Blob` or
792+ - :class:`~ git.objects.blob.Blob` or
793793 :class:`~git.objects.submodule.base.Submodule` object
794794
795795 Blobs are added as they are assuming a valid mode is set.
@@ -815,7 +815,7 @@ def add(
815815
816816 - :class:`~git.index.typ.BaseIndexEntry` or type
817817
818- Handling equals the one of :class:~` git.objects.blob.Blob` objects, but
818+ Handling equals the one of :class:`~ git.objects.blob.Blob` objects, but
819819 the stage may be explicitly set. Please note that Index Entries require
820820 binary sha's.
821821
@@ -998,7 +998,7 @@ def remove(
998998
999999 The path string may include globs, such as ``*.c``.
10001000
1001- - :class:~` git.objects.blob.Blob` object
1001+ - :class:`~ git.objects.blob.Blob` object
10021002
10031003 Only the path portion is used in this case.
10041004
0 commit comments