Skip to content

Commit e521430

Browse files
Schamperpyrco
andcommitted
Update dissect/util/stream.py
Co-authored-by: pyrco <[email protected]>
1 parent e6d68b0 commit e521430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dissect/util/stream.py

+2-2
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)