##// END OF EJS Templates
revlog: cleanup some outdated docstrings
Raphaël Gomès -
r52748:eb9dea14 default
parent child Browse files
Show More
@@ -935,9 +935,7 class _InnerRevlog:
935 """Obtain decompressed chunks for the specified revisions.
935 """Obtain decompressed chunks for the specified revisions.
936
936
937 Accepts an iterable of numeric revisions that are assumed to be in
937 Accepts an iterable of numeric revisions that are assumed to be in
938 ascending order. Also accepts an optional already-open file handle
938 ascending order.
939 to be used for reading. If used, the seek position of the file will
940 not be preserved.
941
939
942 This function is similar to calling ``self._chunk()`` multiple times,
940 This function is similar to calling ``self._chunk()`` multiple times,
943 but is faster.
941 but is faster.
@@ -171,11 +171,7 class randomaccessfile:
171 def read_chunk(self, offset, length):
171 def read_chunk(self, offset, length):
172 """Read a chunk of bytes from the file.
172 """Read a chunk of bytes from the file.
173
173
174 Accepts an absolute offset, length to read, and an optional existing
174 Accepts an absolute offset, length to read.
175 file handle to read from.
176
177 If an existing file handle is passed, it will be seeked and the
178 original seek position will NOT be restored.
179
175
180 Returns a str or buffer of raw byte data.
176 Returns a str or buffer of raw byte data.
181
177
General Comments 0
You need to be logged in to leave comments. Login now