bpo-33580: Make binary/text file glossary entries follow most common "see also" style. (GH-6991) (GH-7012)
(cherry picked from commit 0c4be82890858f874ff2158b0fcfdb8f261569c0)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index a90f176..4b1722f 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -136,8 +136,8 @@
: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 @@
: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