From 558f91aee8a83235ede8bd432d4791d847896e1e Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:16:39 -0400 Subject: [PATCH 1/4] DOC: Reuse old bltin-boolean-values ref tag to avoid breaking downstream intersphinx via numpydoc --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index a351559a84f1ce..3728c1bd718253 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -804,7 +804,7 @@ number, :class:`float`, or :class:`complex`:: hash_value = -2 return hash_value -.. _typebool: +.. _bltin-boolean-values: Boolean Type - :class:`bool` ============================ From fcc23d874b9f77182f0f2b1334e7bbe3d98d55d8 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:22:39 -0400 Subject: [PATCH 2/4] DOC: Revert ref tag change in functions.rst from #103487 --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 35206097064284..ef0e3c258a0810 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -147,7 +147,7 @@ are always available. They are listed here in alphabetical order. or omitted, this returns ``False``; otherwise, it returns ``True``. The :class:`bool` class is a subclass of :class:`int` (see :ref:`typesnumeric`). It cannot be subclassed further. Its only instances are ``False`` and - ``True`` (see :ref:`typebool`). + ``True`` (see :ref:`bltin-boolean-values`). .. index:: pair: Boolean; type From f5d5aa68ed6ef0bb1efcbd8f009d2f01e4e73535 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:36:30 -0400 Subject: [PATCH 3/4] Por que no los dos [ci skip] Co-authored-by: Alex Waygood --- Doc/library/stdtypes.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 3728c1bd718253..f45fd561d2bad3 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -805,6 +805,7 @@ number, :class:`float`, or :class:`complex`:: return hash_value .. _bltin-boolean-values: +.. _typebool: Boolean Type - :class:`bool` ============================ From c855c70e90eaf735c132973df230feae2bdb798e Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:37:04 -0400 Subject: [PATCH 4/4] Revert changes to functions.rst --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index ef0e3c258a0810..35206097064284 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -147,7 +147,7 @@ are always available. They are listed here in alphabetical order. or omitted, this returns ``False``; otherwise, it returns ``True``. The :class:`bool` class is a subclass of :class:`int` (see :ref:`typesnumeric`). It cannot be subclassed further. Its only instances are ``False`` and - ``True`` (see :ref:`bltin-boolean-values`). + ``True`` (see :ref:`typebool`). .. index:: pair: Boolean; type