bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631)

This commit is contained in:
slateny 2022-03-04 09:35:52 -08:00 committed by GitHub
parent d168c728f7
commit cedd2473a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 13 deletions

View file

@ -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"

View file

@ -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 *