]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: io: Remove "In-memory streams" section (GH-24927)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 1 Apr 2021 06:11:49 +0000 (23:11 -0700)
committerGitHub <noreply@github.com>
Thu, 1 Apr 2021 06:11:49 +0000 (15:11 +0900)
(cherry picked from commit b045cdaf341f80b7d1e4804b932b6e415600c2e1)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
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`