Doc: io: Remove "In-memory streams" section (GH-24927)

This commit is contained in:
Inada Naoki 2021-03-25 16:23:50 +09:00 committed by GitHub
parent df9ade9beb
commit b045cdaf34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,16 +155,6 @@ High-level Module Interface
when an unsupported operation is called on a stream.
In-memory streams
^^^^^^^^^^^^^^^^^
It is also possible to use a :class:`str` or :term:`bytes-like object` as a
file for both reading and writing. For strings :class:`StringIO` can be used
like a file opened in text mode. :class:`BytesIO` can be used like a file
opened in binary mode. Both provide full read-write capabilities with random
access.
.. seealso::
:mod:`sys`