Skip to content

Commit 5935160

Browse files
committed
fix type annotation for _MemoryFile.readinto
1 parent ff33f99 commit 5935160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/memoryfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def readable(self):
146146
return self._mode.reading
147147

148148
def readinto(self, b):
149-
# type (bytes) -> Optional[int]
149+
# type (bytearray) -> Optional[int]
150150
if not self._mode.reading:
151151
raise IOError("File not open for reading")
152152
with self._seek_lock():

0 commit comments

Comments
 (0)