]> 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 15:57:42 +0000 (08:57 -0700)
committerGitHub <noreply@github.com>
Sun, 20 May 2018 15:57:42 +0000 (08:57 -0700)
(cherry picked from commit 0c4be82890858f874ff2158b0fcfdb8f261569c0)

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

index 425ab81a90909ac571ea003c5baef30f2a9383a8..279233906091279717a4caaead1e4b199b1699a9 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
@@ -998,8 +998,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