summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-06-22 21:19:07 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-06-22 21:19:07 (GMT)
commit2a1a49063bae2df2896a748f2a9f82d3d130a1a2 (patch)
tree9bc4e362ffc839fa80d6cbf97326a5863b9d6863
parenta96fea03e889b3ec66c91093b8a2cfceb11e2d28 (diff)
downloadcpython-2a1a49063bae2df2896a748f2a9f82d3d130a1a2.zip
cpython-2a1a49063bae2df2896a748f2a9f82d3d130a1a2.tar.gz
cpython-2a1a49063bae2df2896a748f2a9f82d3d130a1a2.tar.bz2
reflow to 80 chars
-rw-r--r--Doc/library/io.rst25
1 files changed, 12 insertions, 13 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 2fff23d..03e3fd4 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -391,8 +391,8 @@ I/O Base Classes
.. method:: readinto(b)
Read up to ``len(b)`` bytes into :class:`bytearray` *b* and return the
- number of bytes read. If the object is in non-blocking mode and no
- bytes are available, ``None`` is returned.
+ number of bytes read. If the object is in non-blocking mode and no bytes
+ are available, ``None`` is returned.
.. method:: write(b)
@@ -467,9 +467,9 @@ I/O Base Classes
Read and return up to *size* bytes, with at most one call to the
underlying raw stream's :meth:`~RawIOBase.read` (or
- :meth:`~RawIOBase.readinto`) method. This can be useful if you
- are implementing your own buffering on top of a
- :class:`BufferedIOBase` object.
+ :meth:`~RawIOBase.readinto`) method. This can be useful if you are
+ implementing your own buffering on top of a :class:`BufferedIOBase`
+ object.
.. method:: readinto(b)
@@ -479,18 +479,17 @@ I/O Base Classes
Like :meth:`read`, multiple reads may be issued to the underlying raw
stream, unless the latter is interactive.
- A :exc:`BlockingIOError` is raised if the underlying raw stream is in
- non blocking-mode, and has no data available at the moment.
+ A :exc:`BlockingIOError` is raised if the underlying raw stream is in non
+ blocking-mode, and has no data available at the moment.
.. method:: readinto1(b)
- Read up to ``len(b)`` bytes into bytearray *b*, ,using at most
- one call to the underlying raw stream's :meth:`~RawIOBase.read`
- (or :meth:`~RawIOBase.readinto`) method. Return the number of
- bytes read.
+ Read up to ``len(b)`` bytes into bytearray *b*, ,using at most one call to
+ the underlying raw stream's :meth:`~RawIOBase.read` (or
+ :meth:`~RawIOBase.readinto`) method. Return the number of bytes read.
- A :exc:`BlockingIOError` is raised if the underlying raw stream is in
- non blocking-mode, and has no data available at the moment.
+ A :exc:`BlockingIOError` is raised if the underlying raw stream is in non
+ blocking-mode, and has no data available at the moment.
.. versionadded:: 3.5