Skip to content

Commit b84c45d

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

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
@@ -182,8 +182,8 @@ def _read(self, offset: int, length: int) -> bytes:
182182
def _readinto(self, offset: int, buf: memoryview) -> int:
183183
"""Provide an aligned ``readinto`` implementation for this stream.
184184
185-
For backwards compatibility, ``AlignedStream`` provides a default ``_readinto`` implementation that
186-
falls back on ``_read``. However, subclasses should override this method instead of ``_read``.
185+
For backwards compatibility, ``AlignedStream`` provides a default ``_readinto`` implementation, implemented in `_readinto_fallback`, that
186+
falls back on ``_read``. However, subclasses should override the ``_readinto`` method instead of ``_readinto_fallback``.
187187
"""
188188
return self._readinto_fallback(offset, buf)
189189

0 commit comments

Comments
 (0)