]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] Docs: avoid repetitions of class references in functions.rst (GH-150891) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 12 Jun 2026 15:01:30 +0000 (17:01 +0200)
committerGitHub <noreply@github.com>
Fri, 12 Jun 2026 15:01:30 +0000 (15:01 +0000)
Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
Doc/library/functions.rst

index def2a211d1b3b4d6ca2ca289f03d6728042a2845..f38440569d5169dd88978efa4aba28bc4fb23cbc 100644 (file)
@@ -485,7 +485,7 @@ are always available.  They are listed here in alphabetical order.
    :noindex:
 
    Create a new dictionary.  The :class:`dict` object is the dictionary class.
-   See :class:`dict` and :ref:`typesmapping` for documentation about this class.
+   See also :ref:`typesmapping` for documentation about this class.
 
    For other containers see the built-in :class:`frozendict`, :class:`list`,
    :class:`set`, and :class:`tuple` classes, as well as the :mod:`collections` module.
@@ -873,7 +873,7 @@ are always available.  They are listed here in alphabetical order.
    :noindex:
 
    Create a new frozen dictionary.  The :class:`frozendict` object is a built-in class.
-   See :class:`frozendict` and :ref:`typesmapping` for documentation about this class.
+   See also :ref:`typesmapping` for documentation about this class.
 
    For other containers see the built-in :class:`dict`, :class:`list`, :class:`set`,
    and :class:`tuple` classes, as well as the :mod:`collections` module.
@@ -886,7 +886,7 @@ are always available.  They are listed here in alphabetical order.
    :noindex:
 
    Return a new :class:`frozenset` object, optionally with elements taken from
-   *iterable*.  ``frozenset`` is a built-in class.  See :class:`frozenset` and
+   *iterable*.  :class:`frozenset` is a built-in class.  See also
    :ref:`types-set` for documentation about this class.
 
    For other containers see the built-in :class:`set`, :class:`list`,
@@ -1814,7 +1814,7 @@ are always available.  They are listed here in alphabetical order.
    :noindex:
 
    Return a new :class:`set` object, optionally with elements taken from
-   *iterable*.  ``set`` is a built-in class.  See :class:`set` and
+   *iterable*.  :class:`set` is a built-in class.  See also
    :ref:`types-set` for documentation about this class.
 
    For other containers see the built-in :class:`frozenset`, :class:`list`,