diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-14 17:47:44 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-14 17:49:33 +0100 |
commit | 6569c4849197c9475d85d05205c55e9ef28950c1 (patch) | |
tree | 3dfb25f7c23a74e466e43ab6db87eeb4290712a7 /git/cmd.py | |
parent | 53e5fb3733e491925a01e9da6243e93c2e4214c1 (diff) | |
download | gitpython-6569c4849197c9475d85d05205c55e9ef28950c1.tar.gz |
Fixed some doc strings to build correctly with sphinx
Fixes #7
[ci skip]
Diffstat (limited to 'git/cmd.py')
-rw-r--r-- | git/cmd.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -769,10 +769,10 @@ class Git(LazyMixin): return (hexsha, typename, size, data) def stream_object_data(self, ref): - """As get_object_header, but returns the data as a stream + """ As get_object_header, but returns the data as a stream + :return: (hexsha, type_string, size_as_int, stream) - :note: This method is not threadsafe, you need one independent Command instance - per thread to be safe !""" + :note: This method is not threadsafe, you need one independent Command instance per thread to be safe !""" cmd = self._get_persistent_cmd("cat_file_all", "cat_file", batch=True) hexsha, typename, size = self.__get_object_header(cmd, ref) return (hexsha, typename, size, self.CatFileContentStream(size, cmd.stdout)) |