[Python-checkins] Doc: io: Remove "In-memory streams" section (GH-24927)
methane
webhook-mailer at python.org
Thu Mar 25 03:24:04 EDT 2021
https://github.com/python/cpython/commit/b045cdaf341f80b7d1e4804b932b6e415600c2e1
commit: b045cdaf341f80b7d1e4804b932b6e415600c2e1
branch: master
author: Inada Naoki <songofacandy at gmail.com>
committer: methane <songofacandy at gmail.com>
date: 2021-03-25T16:23:50+09:00
summary:
Doc: io: Remove "In-memory streams" section (GH-24927)
files:
M Doc/library/io.rst
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index aecbec56866d7..96e02e839ae65 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`
More information about the Python-checkins
mailing list