]> granicus.if.org Git - python/commitdiff
bpo-33580: Make binary/text file glossary entries follow most common "see also" style...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 20 May 2018 22:51:37 +0000 (15:51 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 20 May 2018 22:51:37 +0000 (01:51 +0300)
(cherry picked from commit 0c4be82890858f874ff2158b0fcfdb8f261569c0)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Doc/glossary.rst

index a90f176db7ba0e28c82870da0081d057a5914f15..4b1722f5c036ba97c20f9def75175a5df7bc6645 100644 (file)
@@ -136,8 +136,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
@@ -1006,8 +1006,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