summaryrefslogtreecommitdiffstats
path: root/Lib/_pyio.py
diff options
context:
space:
mode:
authorslateny <46876382+slateny@users.noreply.github.com>2022-03-04 17:35:52 (GMT)
committerGitHub <noreply@github.com>2022-03-04 17:35:52 (GMT)
commitcedd2473a9bebe07f3ced4f341cf58a2fef07b03 (patch)
tree94cc2d402ea3d90edcb8d52e3b47b0a5b0a5e501 /Lib/_pyio.py
parentd168c728f7114959e8fc147538ea1d24f2f5af79 (diff)
downloadcpython-cedd2473a9bebe07f3ced4f341cf58a2fef07b03.zip
cpython-cedd2473a9bebe07f3ced4f341cf58a2fef07b03.tar.gz
cpython-cedd2473a9bebe07f3ced4f341cf58a2fef07b03.tar.bz2
bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631)
Diffstat (limited to 'Lib/_pyio.py')
-rw-r--r--Lib/_pyio.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py
index 8f20c5e..fd00d65 100644
--- a/Lib/_pyio.py
+++ b/Lib/_pyio.py
@@ -326,8 +326,7 @@ except AttributeError:
class IOBase(metaclass=abc.ABCMeta):
- """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 dummy implementations for many methods that
derived classes can override selectively; the default implementations
@@ -1833,7 +1832,7 @@ class TextIOBase(IOBase):
"""Base class for text I/O.
This class provides a character and line based interface to stream
- I/O. There is no public constructor.
+ I/O.
"""
def read(self, size=-1):