From a7dd04a044c4c0821e8cece466b1f5bc34aba249 Mon Sep 17 00:00:00 2001 From: meersuri Date: Tue, 8 Feb 2022 23:23:09 +0800 Subject: [PATCH 1/4] Fix enum.property documentation link Incorrectly pointed to built-in the property() function as mentioned in #46586 --- Doc/library/enum.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index 672e256c77c0d7..52ef0094cb71f2 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -110,7 +110,7 @@ Module Contents :class:`StrEnum` defaults to the lower-cased version of the member name, while other Enums default to 1 and increase from there. - :func:`property` + :func:`~enum.property` Allows :class:`Enum` members to have attributes without conflicting with member names. From 64f5b1d0aa9297fe5658b6b384f5b3ee24d2040e Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Tue, 8 Feb 2022 15:38:16 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/Documentation/2022-02-08-15-38-16.bpo-46586.6qVFVL.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Documentation/2022-02-08-15-38-16.bpo-46586.6qVFVL.rst diff --git a/Misc/NEWS.d/next/Documentation/2022-02-08-15-38-16.bpo-46586.6qVFVL.rst b/Misc/NEWS.d/next/Documentation/2022-02-08-15-38-16.bpo-46586.6qVFVL.rst new file mode 100644 index 00000000000000..e0683e47127a38 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2022-02-08-15-38-16.bpo-46586.6qVFVL.rst @@ -0,0 +1 @@ +Fix enum.property link to point to the enum page rather than the built-in property() page \ No newline at end of file From 078b226d28d39ddae12f448d95fe11c6db9165ea Mon Sep 17 00:00:00 2001 From: meersuri Date: Thu, 10 Feb 2022 22:43:25 +0800 Subject: [PATCH 3/4] Fix links to builtin max, min in sys.float_info --- Doc/library/sys.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 5e47201f88eae1..beb720ddd8cd00 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -545,7 +545,7 @@ always available. | :const:`mant_dig` | DBL_MANT_DIG | float precision: the number of base-``radix`` | | | | digits in the significand of a float | +---------------------+----------------+--------------------------------------------------+ - | :const:`max` | DBL_MAX | maximum representable positive finite float | + | :const:`!max` | DBL_MAX | maximum representable positive finite float | +---------------------+----------------+--------------------------------------------------+ | :const:`max_exp` | DBL_MAX_EXP | maximum integer *e* such that ``radix**(e-1)`` is| | | | a representable finite float | @@ -553,7 +553,7 @@ always available. | :const:`max_10_exp` | DBL_MAX_10_EXP | maximum integer *e* such that ``10**e`` is in the| | | | range of representable finite floats | +---------------------+----------------+--------------------------------------------------+ - | :const:`min` | DBL_MIN | minimum representable positive *normalized* float| + | :const:`!min` | DBL_MIN | minimum representable positive *normalized* float| | | | | | | | Use :func:`math.ulp(0.0) ` to get the | | | | smallest positive *denormalized* representable | From 47d95acd6bc890d4bc8806a172567883dfa1bfd6 Mon Sep 17 00:00:00 2001 From: meersuri Date: Sat, 12 Feb 2022 10:08:25 +0800 Subject: [PATCH 4/4] =?UTF-8?q?Revert=20"=F0=9F=93=9C=F0=9F=A4=96=20Added?= =?UTF-8?q?=20by=20blurb=5Fit."?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 64f5b1d0aa9297fe5658b6b384f5b3ee24d2040e. --- Doc/library/sys.rst | 4 ++-- .../Documentation/2022-02-08-15-38-16.bpo-46586.6qVFVL.rst | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 Misc/NEWS.d/next/Documentation/2022-02-08-15-38-16.bpo-46586.6qVFVL.rst diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index beb720ddd8cd00..5e47201f88eae1 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -545,7 +545,7 @@ always available. | :const:`mant_dig` | DBL_MANT_DIG | float precision: the number of base-``radix`` | | | | digits in the significand of a float | +---------------------+----------------+--------------------------------------------------+ - | :const:`!max` | DBL_MAX | maximum representable positive finite float | + | :const:`max` | DBL_MAX | maximum representable positive finite float | +---------------------+----------------+--------------------------------------------------+ | :const:`max_exp` | DBL_MAX_EXP | maximum integer *e* such that ``radix**(e-1)`` is| | | | a representable finite float | @@ -553,7 +553,7 @@ always available. | :const:`max_10_exp` | DBL_MAX_10_EXP | maximum integer *e* such that ``10**e`` is in the| | | | range of representable finite floats | +---------------------+----------------+--------------------------------------------------+ - | :const:`!min` | DBL_MIN | minimum representable positive *normalized* float| + | :const:`min` | DBL_MIN | minimum representable positive *normalized* float| | | | | | | | Use :func:`math.ulp(0.0) ` to get the | | | | smallest positive *denormalized* representable | diff --git a/Misc/NEWS.d/next/Documentation/2022-02-08-15-38-16.bpo-46586.6qVFVL.rst b/Misc/NEWS.d/next/Documentation/2022-02-08-15-38-16.bpo-46586.6qVFVL.rst deleted file mode 100644 index e0683e47127a38..00000000000000 --- a/Misc/NEWS.d/next/Documentation/2022-02-08-15-38-16.bpo-46586.6qVFVL.rst +++ /dev/null @@ -1 +0,0 @@ -Fix enum.property link to point to the enum page rather than the built-in property() page \ No newline at end of file