https://github.com/python/cpython/commit/d986124d83465190987357f987ee24bd7a817cac
commit: d986124d83465190987357f987ee24bd7a817cac
branch: main
author: Maciej Olko <[email protected]>
committer: hugovk <[email protected]>
date: 2026-06-12T17:53:06+03:00
summary:

Docs: avoid repetitions of class references in functions.rst (#150891)

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index ebf2dea1c1f80c..a4d37beb436899 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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`,

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to