summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRUANG (Roy James) <longjinyii@outlook.com>2024-10-21 00:36:27 (GMT)
committerGitHub <noreply@github.com>2024-10-21 00:36:27 (GMT)
commit9256be7ff0ab035cfd262127d893c9bc88b3c84c (patch)
tree700414ee28dccf5594b1758d8c5d6f67c97ffd9d
parentb3c6b2c9e19ea84f617c13399c411044afbc3813 (diff)
downloadcpython-9256be7ff0ab035cfd262127d893c9bc88b3c84c.zip
cpython-9256be7ff0ab035cfd262127d893c9bc88b3c84c.tar.gz
cpython-9256be7ff0ab035cfd262127d893c9bc88b3c84c.tar.bz2
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
-rw-r--r--Doc/library/builtins.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/Doc/library/builtins.rst b/Doc/library/builtins.rst
index 644344e..c4979db 100644
--- a/Doc/library/builtins.rst
+++ b/Doc/library/builtins.rst
@@ -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,
@@ -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`