summaryrefslogtreecommitdiffstats
path: root/Modules/_io
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 /Modules/_io
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 'Modules/_io')
-rw-r--r--Modules/_io/iobase.c3
-rw-r--r--Modules/_io/textio.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/Modules/_io/iobase.c b/Modules/_io/iobase.c
index 5b687b7..4c81bef 100644
--- a/Modules/_io/iobase.c
+++ b/Modules/_io/iobase.c
@@ -34,8 +34,7 @@ typedef struct {
} iobase;
PyDoc_STRVAR(iobase_doc,
- "The abstract base class for all I/O classes, acting on streams of\n"
- "bytes. There is no public constructor.\n"
+ "The abstract base class for all I/O classes.\n"
"\n"
"This class provides dummy implementations for many methods that\n"
"derived classes can override selectively; the default implementations\n"
diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c
index eb05ae1..e28dbaa 100644
--- a/Modules/_io/textio.c
+++ b/Modules/_io/textio.c
@@ -50,7 +50,7 @@ PyDoc_STRVAR(textiobase_doc,
"\n"
"This class provides a character and line based interface to stream\n"
"I/O. There is no readinto method because Python's character strings\n"
- "are immutable. There is no public constructor.\n"
+ "are immutable.\n"
);
static PyObject *