@@ -389,7 +389,9 @@ def __setstate__(self, d: Dict[str, Any]) -> None:
389389
390390 @classmethod
391391 def refresh (cls , path : Union [None , PathLike ] = None ) -> bool :
392- """This gets called by the refresh function (see the top level ``__init__``).
392+ """Update information about the git executable :class:`Git` objects will use.
393+
394+ Called by the :func:`git.refresh` function in the top level ``__init__``.
393395
394396 :param path:
395397 Optional path to the git executable. If not absolute, it is resolved
@@ -1486,7 +1488,9 @@ def _call_process(
14861488 def _parse_object_header (self , header_line : str ) -> Tuple [str , str , int ]:
14871489 """
14881490 :param header_line:
1489- <hex_sha> type_string size_as_int
1491+ A line of the form::
1492+
1493+ <hex_sha> type_string size_as_int
14901494
14911495 :return:
14921496 (hex_sha, type_string, size_as_int)
@@ -1576,7 +1580,7 @@ def get_object_data(self, ref: str) -> Tuple[str, str, int, bytes]:
15761580 return (hexsha , typename , size , data )
15771581
15781582 def stream_object_data (self , ref : str ) -> Tuple [str , str , int , "Git.CatFileContentStream" ]:
1579- """Similar to :meth:`get_object_header `, but returns the data as a stream.
1583+ """Similar to :meth:`get_object_data `, but returns the data as a stream.
15801584
15811585 :return:
15821586 (hexsha, type_string, size_as_int, stream)
0 commit comments