From 21b2e9f46621ecb14c4d2f1891d3c0e4762d05b0 Mon Sep 17 00:00:00 2001 From: ruang Date: Mon, 9 Sep 2024 16:56:54 +0800 Subject: [PATCH 1/6] Added documentation links for types and exceptions --- Doc/library/builtins.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/builtins.rst b/Doc/library/builtins.rst index 644344e7fef29a..d42b05a4db7f09 100644 --- a/Doc/library/builtins.rst +++ b/Doc/library/builtins.rst @@ -9,7 +9,8 @@ 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. +documentation. For more information about built-in types and exceptions, See +:ref:`bltin-types` and :ref:`bltin-exceptions` This module is not normally accessed explicitly by most applications, but can be From d5a0c48bd710c4f63a00c458cb8a75d063a7dac9 Mon Sep 17 00:00:00 2001 From: ruang Date: Tue, 10 Sep 2024 11:09:22 +0800 Subject: [PATCH 2/6] Shortened description sentences --- Doc/library/builtins.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/library/builtins.rst b/Doc/library/builtins.rst index d42b05a4db7f09..5d4a23edd7ea17 100644 --- a/Doc/library/builtins.rst +++ b/Doc/library/builtins.rst @@ -8,9 +8,8 @@ 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. For more information about built-in types and exceptions, See -:ref:`bltin-types` and :ref:`bltin-exceptions` +:func:`open`. For more information, See :ref:`built-in-funcs`, :ref:`built-in-consts`, +:ref:`bltin-types` and :ref:`bltin-exceptions` documentation. This module is not normally accessed explicitly by most applications, but can be From c5edd3ead784c8374416c97d62d08710237af1d6 Mon Sep 17 00:00:00 2001 From: ruang Date: Wed, 11 Sep 2024 08:43:57 +0800 Subject: [PATCH 3/6] Change content --- Doc/library/builtins.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/builtins.rst b/Doc/library/builtins.rst index 5d4a23edd7ea17..048a287e452950 100644 --- a/Doc/library/builtins.rst +++ b/Doc/library/builtins.rst @@ -8,8 +8,8 @@ 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`. For more information, See :ref:`built-in-funcs`, :ref:`built-in-consts`, -:ref:`bltin-types` and :ref:`bltin-exceptions` documentation. +:func:`open`. For more information, see :ref:`built-in-funcs`, :ref:`built-in-consts`, +:ref:`bltin-types` and :ref:`bltin-exceptions`. This module is not normally accessed explicitly by most applications, but can be From 65dcb435288e75ad98a6c61684882cdddf34f168 Mon Sep 17 00:00:00 2001 From: RUANG Date: Wed, 16 Oct 2024 08:32:53 +0800 Subject: [PATCH 4/6] Change documentation --- Doc/library/builtins.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Doc/library/builtins.rst b/Doc/library/builtins.rst index 048a287e452950..54df566d3fa6d8 100644 --- a/Doc/library/builtins.rst +++ b/Doc/library/builtins.rst @@ -8,8 +8,14 @@ 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`. For more information, see :ref:`built-in-funcs`, :ref:`built-in-consts`, -:ref:`bltin-types` and :ref:`bltin-exceptions`. +:func:`open`. + +.. seealso:: + + * :ref:`built-in-consts` + * :ref:`bltin-exceptions` + * :ref:`built-in-funcs` + * :ref:`bltin-types` This module is not normally accessed explicitly by most applications, but can be From 0fe175beadebe809ebfae0c03302053727e23ddf Mon Sep 17 00:00:00 2001 From: ruang Date: Sun, 20 Oct 2024 09:45:16 +0800 Subject: [PATCH 5/6] Move seealso --- Doc/library/builtins.rst | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Doc/library/builtins.rst b/Doc/library/builtins.rst index 54df566d3fa6d8..380f2a730e0d83 100644 --- a/Doc/library/builtins.rst +++ b/Doc/library/builtins.rst @@ -7,16 +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`. - -.. seealso:: - - * :ref:`built-in-consts` - * :ref:`bltin-exceptions` - * :ref:`built-in-funcs` - * :ref:`bltin-types` - +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, @@ -46,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` \ No newline at end of file From 7b66c4c768b5f67c8e394a1446b9187d24c5128d Mon Sep 17 00:00:00 2001 From: "RUANG (Roy James)" Date: Mon, 21 Oct 2024 07:59:01 +0800 Subject: [PATCH 6/6] Add a spaces --- Doc/library/builtins.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/builtins.rst b/Doc/library/builtins.rst index 380f2a730e0d83..c4979db52d2aed 100644 --- a/Doc/library/builtins.rst +++ b/Doc/library/builtins.rst @@ -43,4 +43,4 @@ implementations of Python. * :ref:`built-in-consts` * :ref:`bltin-exceptions` * :ref:`built-in-funcs` - * :ref:`bltin-types` \ No newline at end of file + * :ref:`bltin-types`