diff mercurial/revlogutils/randomaccessfile.py @ 51893:eb9dea148233

revlog: cleanup some outdated docstrings
author Rapha?l Gom?s <rgomes@octobus.net>
date Wed, 19 Jun 2024 17:06:05 +0200
parents a93e52f0b6ff
children 1c5810ce737e
line wrap: on
line diff
--- 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.