diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-03-04 18:34:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 18:34:14 (GMT) |
commit | 01df048831eb631dfee41175f08d09b9ad1a9538 (patch) | |
tree | 82a099605e6048ef5f4bc4c7f34858cebe6db1a8 /Lib | |
parent | 6a14330318c9c7aedf3e9841c3dfea337064d8e6 (diff) | |
download | cpython-01df048831eb631dfee41175f08d09b9ad1a9538.zip cpython-01df048831eb631dfee41175f08d09b9ad1a9538.tar.gz cpython-01df048831eb631dfee41175f08d09b9ad1a9538.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')
-rw-r--r-- | Lib/_pyio.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 4804ed2..7a9a277 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -314,8 +314,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 @@ -1821,7 +1820,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): |