diff --git a/git/objects/base.py b/git/objects/base.py index 934fb40bc..938dd826c 100644 --- a/git/objects/base.py +++ b/git/objects/base.py @@ -226,7 +226,8 @@ def abspath(self) -> PathLike: Absolute path to this index object in the file system (as opposed to the :attr:`path` field which is a path relative to the git repository). - The returned path will be native to the system and contains '\' on Windows. + The returned path will be native to the system and contains ``\`` on + Windows. """ if self.repo.working_tree_dir is not None: return join_path_native(self.repo.working_tree_dir, self.path)