mercurial/revlogutils/randomaccessfile.py
changeset 51855 eb9dea148233
parent 51182 a93e52f0b6ff
child 51864 1c5810ce737e
--- a/mercurial/revlogutils/randomaccessfile.py	Thu Sep 12 10:09:06 2024 +0200
+++ b/mercurial/revlogutils/randomaccessfile.py	Wed Jun 19 17:06:05 2024 +0200
@@ -171,11 +171,7 @@
     def read_chunk(self, offset, length):
         """Read a chunk of bytes from the file.
 
-        Accepts an absolute offset, length to read, and an optional existing
-        file handle to read from.
-
-        If an existing file handle is passed, it will be seeked and the
-        original seek position will NOT be restored.
+        Accepts an absolute offset, length to read.
 
         Returns a str or buffer of raw byte data.