summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-03-04 18:34:14 (GMT)
committerGitHub <noreply@github.com>2022-03-04 18:34:14 (GMT)
commit01df048831eb631dfee41175f08d09b9ad1a9538 (patch)
tree82a099605e6048ef5f4bc4c7f34858cebe6db1a8 /Doc/library/io.rst
parent6a14330318c9c7aedf3e9841c3dfea337064d8e6 (diff)
downloadcpython-01df048831eb631dfee41175f08d09b9ad1a9538.zip
cpython-01df048831eb631dfee41175f08d09b9ad1a9538.tar.gz
cpython-01df048831eb631dfee41175f08d09b9ad1a9538.tar.bz2
bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631)
(cherry picked from commit cedd2473a9bebe07f3ced4f341cf58a2fef07b03) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r--Doc/library/io.rst11
1 files changed, 4 insertions, 7 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 0ff05cf..9f62dd2 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -230,8 +230,7 @@ I/O Base Classes
.. class:: IOBase
- The abstract base class for all I/O classes, acting on streams of bytes.
- There is no public constructor.
+ The abstract base class for all I/O classes.
This class provides empty abstract implementations for many methods
that derived classes can override selectively; the default
@@ -385,8 +384,7 @@ I/O Base Classes
.. class:: RawIOBase
- Base class for raw binary streams. It inherits :class:`IOBase`. There is no
- public constructor.
+ Base class for raw binary streams. It inherits :class:`IOBase`.
Raw binary streams typically provide low-level access to an underlying OS
device or API, and do not try to encapsulate it in high-level primitives
@@ -439,7 +437,7 @@ I/O Base Classes
.. class:: BufferedIOBase
Base class for binary streams that support some kind of buffering.
- It inherits :class:`IOBase`. There is no public constructor.
+ It inherits :class:`IOBase`.
The main difference with :class:`RawIOBase` is that methods :meth:`read`,
:meth:`readinto` and :meth:`write` will try (respectively) to read as much
@@ -776,8 +774,7 @@ Text I/O
.. class:: TextIOBase
Base class for text streams. This class provides a character and line based
- interface to stream I/O. It inherits :class:`IOBase`. There is no public
- constructor.
+ interface to stream I/O. It inherits :class:`IOBase`.
:class:`TextIOBase` provides or overrides these data attributes and
methods in addition to those from :class:`IOBase`: