diff --git a/dissect/util/stream.py b/dissect/util/stream.py index 59def08..5026892 100644 --- a/dissect/util/stream.py +++ b/dissect/util/stream.py @@ -178,8 +178,8 @@ def _read(self, offset: int, length: int) -> bytes: def _readinto(self, offset: int, buf: memoryview) -> int: """Provide an aligned ``readinto`` implementation for this stream. - For backwards compatibility, ``AlignedStream`` provides a default ``_readinto`` implementation that - falls back on ``_read``. However, subclasses should override this method instead of ``_read``. + For backwards compatibility, ``AlignedStream`` provides a default ``_readinto`` implementation, implemented in `_readinto_fallback`, that + falls back on ``_read``. However, subclasses should override the ``_readinto`` method instead of ``_readinto_fallback``. """ return self._readinto_fallback(offset, buf)