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

(cherry picked from commit b045cdaf34)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
This commit is contained in:
Miss Islington (bot) 2021-03-31 23:11:49 -07:00 committed by GitHub
parent b3c1e2c493
commit 244fa236e4
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. 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:: .. seealso::
:mod:`sys` :mod:`sys`