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

diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index aecbec5..96e02e8 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -155,16 +155,6 @@
    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`