]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: io: Remove "In-memory streams" section (GH-24927)
authorInada Naoki <songofacandy@gmail.com>
Thu, 25 Mar 2021 07:23:50 +0000 (16:23 +0900)
committerGitHub <noreply@github.com>
Thu, 25 Mar 2021 07:23:50 +0000 (16:23 +0900)
Doc/library/io.rst

index aecbec56866d73d1127e0ac3d7c659d5c4a56dba..96e02e839ae6537c7811a287ebf58c9937fb46ac 100644 (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`