File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1666,18 +1666,18 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
16661666
16671667 The *buffer * should be mutable and :term: `bytes-like <bytes-like object> `. On
16681668 success, returns the number of bytes read. Less bytes may be read than the
1669- size of the buffer. Will retry the underlying system call when interrupted by
1670- a signal. For other errors, the system call will not be retried.
1669+ size of the buffer. The underlying system call will be retried when
1670+ interrupted by a signal. For other errors, it will not be retried.
16711671
16721672 .. note ::
16731673
16741674 This function is intended for low-level I/O and must be applied to a file
1675- descriptor as returned by :func: `os.open ` or :func: `pipe `. To read a
1675+ descriptor as returned by :func: `os.open ` or :func: `os. pipe `. To read a
16761676 "file object" returned by the built-in function :func: `open ` or by
16771677 :func: `popen ` or :func: `fdopen `, or :data: `sys.stdin `, use its
16781678 :meth: `~file.readinto ` or :meth: `~file.read `.
16791679
1680- .. versionadded :: 3.14
1680+ .. versionadded :: next
16811681
16821682
16831683.. function :: sendfile(out_fd, in_fd, offset, count)
Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ def test_large_readinto(self, size):
311311 # Issue #21932: For readinto the buffer contains the length rather than
312312 # a length being passed explicitly to read, should still get capped to a
313313 # valid size / not raise an OverflowError for sizes larger than INT_MAX.
314- buffer = bytearray (INT_MAX + 10 )
314+ buffer = bytearray (INT_MAX + 10 )
315315 with open (os_helper .TESTFN , "rb" ) as fp :
316316 length = os .readinto (fp .fileno (), buffer )
317317
You can’t perform that action at this time.
0 commit comments