Skip to content

Commit

Permalink
[3.12] gh-99030: Added documentation links for types and exceptions (G…
Browse files Browse the repository at this point in the history
…H-123857) (GH-125765)

gh-99030: Added documentation links for types and exceptions (GH-123857)

* Added documentation links for types and exceptions

* Shortened description sentences

* Change content

* Change documentation

* Move seealso

* Add a spaces
(cherry picked from commit 9256be7)

Co-authored-by: RUANG (Roy James) <[email protected]>
  • Loading branch information
miss-islington and rruuaanng authored Oct 21, 2024
1 parent 5f6e112 commit 9a22ec7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Doc/library/builtins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
--------------

This module provides direct access to all 'built-in' identifiers of Python; for
example, ``builtins.open`` is the full name for the built-in function
:func:`open`. See :ref:`built-in-funcs` and :ref:`built-in-consts` for
documentation.

example, ``builtins.open`` is the full name for the built-in function :func:`open`.

This module is not normally accessed explicitly by most applications, but can be
useful in modules that provide objects with the same name as a built-in value,
Expand Down Expand Up @@ -40,3 +37,10 @@ available as part of their globals. The value of ``__builtins__`` is normally
either this module or the value of this module's :attr:`~object.__dict__` attribute.
Since this is an implementation detail, it may not be used by alternate
implementations of Python.

.. seealso::

* :ref:`built-in-consts`
* :ref:`bltin-exceptions`
* :ref:`built-in-funcs`
* :ref:`bltin-types`

0 comments on commit 9a22ec7

Please sign in to comment.