Skip to content

Commit 43a0805

Browse files
Schamperpyrco
andauthored
Update dissect/util/stream.py
Co-authored-by: pyrco <105293448+pyrco@users.noreply.github.com>
1 parent f0beb2c commit 43a0805

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dissect/util/stream.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ def _read(self, offset: int, length: int) -> bytes:
178178
def _readinto(self, offset: int, buf: memoryview) -> int:
179179
"""Provide an aligned ``readinto`` implementation for this stream.
180180
181-
For backwards compatibility, ``AlignedStream`` provides a default ``_readinto`` implementation that
182-
falls back on ``_read``. However, subclasses should override this method instead of ``_read``.
181+
For backwards compatibility, ``AlignedStream`` provides a default ``_readinto`` implementation, implemented in `_readinto_fallback`, that
182+
falls back on ``_read``. However, subclasses should override the ``_readinto`` method instead of ``_readinto_fallback``.
183183
"""
184184
return self._readinto_fallback(offset, buf)
185185

0 commit comments

Comments
 (0)