[Python-checkins] bpo-33580: Make binary/text file glossary entries follow most common "see also" style. (GH-6991)

Serhiy Storchaka webhook-mailer at python.org
Sun May 20 11:12:53 EDT 2018


https://github.com/python/cpython/commit/0c4be82890858f874ff2158b0fcfdb8f261569c0
commit: 0c4be82890858f874ff2158b0fcfdb8f261569c0
branch: master
author: Andrés Delfino <adelfino at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-05-20T18:12:50+03:00
summary:

bpo-33580: Make binary/text file glossary entries follow most common "see also" style. (GH-6991)

files:
M Doc/glossary.rst

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 13d0b9e90b39..0ee056ee28dd 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -148,8 +148,8 @@ Glossary
       :data:`sys.stdout.buffer`, and instances of :class:`io.BytesIO` and
       :class:`gzip.GzipFile`.
 
-      .. seealso::
-         A :term:`text file` reads and writes :class:`str` objects.
+      See also :term:`text file` for a file object able to read and write
+      :class:`str` objects.
 
    bytes-like object
       An object that supports the :ref:`bufferobjects` and can
@@ -1030,8 +1030,8 @@ Glossary
       :data:`sys.stdin`, :data:`sys.stdout`, and instances of
       :class:`io.StringIO`.
 
-      .. seealso::
-         A :term:`binary file` reads and write :class:`bytes` objects.
+      See also :term:`binary file` for a file object able to read and write
+      :term:`bytes-like objects <bytes-like object>`.
 
    triple-quoted string
       A string which is bound by three instances of either a quotation mark



More information about the Python-checkins mailing list