Skip to content

Commit 600f064

Browse files
authored
Apply suggestions from code review
1 parent 28c63ce commit 600f064

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/_pyio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ def read(self, size=None):
16491649
multiple read calls. See ``_io.FileIO.readall``.
16501650
16511651
Attempts to make only one system call, retrying only per
1652-
PEP-475 (EINTR). This means less data may be returned than
1652+
PEP 475 (EINTR). This means less data may be returned than
16531653
requested.
16541654
16551655
In non-blocking mode, returns None if no data is available.

Modules/_io/fileio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ Read at most size bytes, returned as bytes.
854854
If size is less than 0, read all bytes in the file making multiple read calls.
855855
See ``_io.FileIO.readall``.
856856
857-
Attempts to make only one system call, retrying only per PEP-475 (EINTR). This
857+
Attempts to make only one system call, retrying only per PEP 475 (EINTR). This
858858
means less data may be returned than requested.
859859
860860
In non-blocking mode, returns None if no data is available. Return an empty

0 commit comments

Comments
 (0)