summaryrefslogtreecommitdiffstats
path: root/Lib/_pyio.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-03-04 18:33:57 (GMT)
committerGitHub <noreply@github.com>2022-03-04 18:33:57 (GMT)
commitbdce1880365990403efdbeb60c4928c996370b0c (patch)
tree760647ed8e75c3642dc93c641da7103de74028e6 /Lib/_pyio.py
parent7b5b429adab4fe0fe81858fe3831f06adc2e2141 (diff)
downloadcpython-bdce1880365990403efdbeb60c4928c996370b0c.zip
cpython-bdce1880365990403efdbeb60c4928c996370b0c.tar.gz
cpython-bdce1880365990403efdbeb60c4928c996370b0c.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 '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 56e9a0c..fb867fb 100644
--- a/Lib/_pyio.py
+++ b/Lib/_pyio.py
@@ -338,8 +338,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
@@ -1845,7 +1844,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):