]> 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:10:38 +0000 (23:10 -0700)
committerGitHub <noreply@github.com>
Thu, 1 Apr 2021 06:10:38 +0000 (15:10 +0900)
(cherry picked from commit b045cdaf341f80b7d1e4804b932b6e415600c2e1)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Doc/library/io.rst

index 32151a0ace458e2b4647942e6d0a02d513ae0a69..6d51aa1c8e31dc4f4484fcd8ab6578b282988213 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`