diff options
author | slateny <46876382+slateny@users.noreply.github.com> | 2022-03-04 17:35:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 17:35:52 (GMT) |
commit | cedd2473a9bebe07f3ced4f341cf58a2fef07b03 (patch) | |
tree | 94cc2d402ea3d90edcb8d52e3b47b0a5b0a5e501 /Modules | |
parent | d168c728f7114959e8fc147538ea1d24f2f5af79 (diff) | |
download | cpython-cedd2473a9bebe07f3ced4f341cf58a2fef07b03.zip cpython-cedd2473a9bebe07f3ced4f341cf58a2fef07b03.tar.gz cpython-cedd2473a9bebe07f3ced4f341cf58a2fef07b03.tar.bz2 |
bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_io/iobase.c | 3 | ||||
-rw-r--r-- | Modules/_io/textio.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Modules/_io/iobase.c b/Modules/_io/iobase.c index b00b6b9..6ae43a8 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 ca59a4e..d9d1c88 100644 --- a/Modules/_io/textio.c +++ b/Modules/_io/textio.c @@ -30,7 +30,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 * |