Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a1a490

Browse files
committed
reflow to 80 chars
1 parent a96fea0 commit 2a1a490

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

Doc/library/io.rst

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,8 @@ I/O Base Classes
391391
.. method:: readinto(b)
392392

393393
Read up to ``len(b)`` bytes into :class:`bytearray` *b* and return the
394-
number of bytes read. If the object is in non-blocking mode and no
395-
bytes are available, ``None`` is returned.
394+
number of bytes read. If the object is in non-blocking mode and no bytes
395+
are available, ``None`` is returned.
396396

397397
.. method:: write(b)
398398

@@ -467,9 +467,9 @@ I/O Base Classes
467467

468468
Read and return up to *size* bytes, with at most one call to the
469469
underlying raw stream's :meth:`~RawIOBase.read` (or
470-
:meth:`~RawIOBase.readinto`) method. This can be useful if you
471-
are implementing your own buffering on top of a
472-
:class:`BufferedIOBase` object.
470+
:meth:`~RawIOBase.readinto`) method. This can be useful if you are
471+
implementing your own buffering on top of a :class:`BufferedIOBase`
472+
object.
473473

474474
.. method:: readinto(b)
475475

@@ -479,18 +479,17 @@ I/O Base Classes
479479
Like :meth:`read`, multiple reads may be issued to the underlying raw
480480
stream, unless the latter is interactive.
481481

482-
A :exc:`BlockingIOError` is raised if the underlying raw stream is in
483-
non blocking-mode, and has no data available at the moment.
482+
A :exc:`BlockingIOError` is raised if the underlying raw stream is in non
483+
blocking-mode, and has no data available at the moment.
484484

485485
.. method:: readinto1(b)
486486

487-
Read up to ``len(b)`` bytes into bytearray *b*, ,using at most
488-
one call to the underlying raw stream's :meth:`~RawIOBase.read`
489-
(or :meth:`~RawIOBase.readinto`) method. Return the number of
490-
bytes read.
487+
Read up to ``len(b)`` bytes into bytearray *b*, ,using at most one call to
488+
the underlying raw stream's :meth:`~RawIOBase.read` (or
489+
:meth:`~RawIOBase.readinto`) method. Return the number of bytes read.
491490

492-
A :exc:`BlockingIOError` is raised if the underlying raw stream is in
493-
non blocking-mode, and has no data available at the moment.
491+
A :exc:`BlockingIOError` is raised if the underlying raw stream is in non
492+
blocking-mode, and has no data available at the moment.
494493

495494
.. versionadded:: 3.5
496495

0 commit comments

Comments
 (0)