Skip to content

Commit abe4436

Browse files
Update Modules/_io/fileio.c
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 9b714f2 commit abe4436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_io/fileio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ _io.FileIO.readall
726726
Read all data from the file, returned as bytes.
727727
728728
Reads until either there is an error or read() returns size 0 (indicates EOF).
729-
If the file is already at EOF returns empty bytes.
729+
If the file is already at EOF, returns an empty bytes object.
730730
731731
In non-blocking mode, returns as much data as could be read before EAGAIN. If no
732732
data is available (EAGAIN is returned before bytes are read) returns None.

0 commit comments

Comments
 (0)