Skip to content

Commit 6f8ad36

Browse files
committed
bytes-like objects to bytes-like object, only one buffer
1 parent 8cc70cd commit 6f8ad36

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Doc/library/os.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1664,11 +1664,10 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
16641664
Read from a file descriptor *fd* into a mutable
16651665
:ref:`buffer protocol <bufferobjects>` *buffer*.
16661666

1667-
The *buffer* should be mutable and :term:`bytes-like
1668-
objects <bytes-like object>`. On success, returns the number of
1669-
bytes read. Less bytes may be read than the size of the buffer. Will retry the
1670-
underlying system call when interrupted by a signal. For other errors, the
1671-
system call will not be retried.
1667+
The *buffer* should be mutable and :term:`bytes-like <bytes-like object>`. On
1668+
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.
16721671

16731672
.. note::
16741673

0 commit comments

Comments
 (0)