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
This commit is contained in:
RUANG (Roy James) 2024-10-21 08:36:27 +08:00 committed by GitHub
parent b3c6b2c9e1
commit 9256be7ff0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,10 +7,7 @@
-------------- --------------
This module provides direct access to all 'built-in' identifiers of Python; for 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 example, ``builtins.open`` is the full name for the built-in function :func:`open`.
:func:`open`. See :ref:`built-in-funcs` and :ref:`built-in-consts` for
documentation.
This module is not normally accessed explicitly by most applications, but can be 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, useful in modules that provide objects with the same name as a built-in value,
@ -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. 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 Since this is an implementation detail, it may not be used by alternate
implementations of Python. implementations of Python.
.. seealso::
* :ref:`built-in-consts`
* :ref:`bltin-exceptions`
* :ref:`built-in-funcs`
* :ref:`bltin-types`