summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-04-01 06:10:38 (GMT)
committerGitHub <noreply@github.com>2021-04-01 06:10:38 (GMT)
commit4ea8b24027a514e47bc664e98070f2f2c04cff3f (patch)
tree0bf7587d19ad327c41450583801f51d589265105
parenta2fb286b8632127a37f5bb6e63e334e8356161b9 (diff)
downloadcpython-4ea8b24027a514e47bc664e98070f2f2c04cff3f.zip
cpython-4ea8b24027a514e47bc664e98070f2f2c04cff3f.tar.gz
cpython-4ea8b24027a514e47bc664e98070f2f2c04cff3f.tar.bz2
Doc: io: Remove "In-memory streams" section (GH-24927)
(cherry picked from commit b045cdaf341f80b7d1e4804b932b6e415600c2e1) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
-rw-r--r--Doc/library/io.rst10
1 files changed, 0 insertions, 10 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 32151a0..6d51aa1 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -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`