diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-04-01 06:11:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 06:11:49 (GMT) |
commit | 244fa236e422020ad1a0c1be8d5b53496bd3d0f2 (patch) | |
tree | cab97cb4a7e80eeca59a0772293992d32378ef54 | |
parent | b3c1e2c493e67f84b1034ac6c49492a459b0736d (diff) | |
download | cpython-244fa236e422020ad1a0c1be8d5b53496bd3d0f2.zip cpython-244fa236e422020ad1a0c1be8d5b53496bd3d0f2.tar.gz cpython-244fa236e422020ad1a0c1be8d5b53496bd3d0f2.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.rst | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst index aecbec5..96e02e8 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` |