From c2ec4059fdafe91e929e071f47640f270b8bcaf2 Mon Sep 17 00:00:00 2001 From: dhairya05 Date: Mon, 9 Nov 2026 01:19:19 +0530 Subject: [PATCH 1/7] PEP 1: fix two duplicated words "so long as the the following criteria" and "the time when when Python was led by a BDFL". --- peps/pep-0001.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peps/pep-0001.rst b/peps/pep-0001.rst index d7ffb374709..596f68e19ab 100644 --- a/peps/pep-0001.rst +++ b/peps/pep-0001.rst @@ -277,7 +277,7 @@ to provide a central place to discuss and review its contents, and the PEP should be updated so that the ``Discussions-To`` header links to it. The PEP authors (or sponsor, if applicable) may select any reasonable venue -for the discussion, so long as the the following criteria are met: +for the discussion, so long as the following criteria are met: * The forum is appropriate to the PEP's topic. * The thread is publicly available on the web so that all interested parties @@ -358,7 +358,7 @@ The term "PEP-Delegate" is used under the Steering Council governance model for the PEP's designated decision maker, who is recorded in the "PEP-Delegate" field in the PEP's header. The term "BDFL-Delegate" is a deprecated alias for PEP-Delegate, a legacy of -the time when when Python was led by `a BDFL `_. +the time when Python was led by `a BDFL `_. Any legacy references to "BDFL-Delegate" should be treated as equivalent to "PEP-Delegate". From c650d1f92cbdb834e089d4a2e1eea288bdaf7ae9 Mon Sep 17 00:00:00 2001 From: dhairya05 Date: Mon, 9 Nov 2026 01:19:28 +0530 Subject: [PATCH 2/7] PEP 653: fix duplicated word "should ensure that the the values of ``__match_container__``". --- peps/pep-0653.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0653.rst b/peps/pep-0653.rst index 567c8c8a1f2..5f613971e16 100644 --- a/peps/pep-0653.rst +++ b/peps/pep-0653.rst @@ -438,7 +438,7 @@ translates to:: Non-conforming special attributes ''''''''''''''''''''''''''''''''' -All classes should ensure that the the values of ``__match_container__``, ``__match_class__`` +All classes should ensure that the values of ``__match_container__``, ``__match_class__`` and ``__match_args__`` follow the specification. Therefore, implementations can assume, without checking, that the following are true:: From 1d400264cf4c1563be8d3445559ca5a4a75e0875 Mon Sep 17 00:00:00 2001 From: dhairya05 Date: Mon, 9 Nov 2026 01:19:28 +0530 Subject: [PATCH 3/7] PEP 720: fix duplicated word "should give a decent overview of of environment details". --- peps/pep-0720.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0720.rst b/peps/pep-0720.rst index e9c2dd1a378..8e4d0cb9602 100644 --- a/peps/pep-0720.rst +++ b/peps/pep-0720.rst @@ -156,7 +156,7 @@ the target system is the same as where the build is occurring, so introspection is usually used to guide the build. In this section, we try to document most of the ways this is accomplished. It -should give a decent overview of of environment details that are required by +should give a decent overview of environment details that are required by build systems. .. list-table:: From a3662fcc55c78ed4daaa04ef6f8cc64208109ba1 Mon Sep 17 00:00:00 2001 From: dhairya05 Date: Mon, 9 Nov 2026 01:19:28 +0530 Subject: [PATCH 4/7] PEP 776: fix duplicated word "as well as in in web pages that are not served with the shared memory headers". --- peps/pep-0776.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0776.rst b/peps/pep-0776.rst index 9c6e41d0aac..5f28eced2f0 100644 --- a/peps/pep-0776.rst +++ b/peps/pep-0776.rst @@ -472,7 +472,7 @@ and it is in use in Pyodide. Eventually, we hope to implement stack-switching-based signals so that it is possible to use signals in the main thread of node and the browser, as well as -in in web pages that are not served with the shared memory headers. We will need +in web pages that are not served with the shared memory headers. We will need to keep the shared memory based approach as well, both for backwards compatibility and because it is more efficient when it is possible. However, this is out of scope for this PEP. From 962ee19e03439cd0c7069b7313dae940a1f89226 Mon Sep 17 00:00:00 2001 From: dhairya05 Date: Mon, 9 Nov 2026 01:19:35 +0530 Subject: [PATCH 5/7] PEP 786: fix duplicated word "one can always extend a signed number's binary representation by extending the the leading digit as a prefix". --- peps/pep-0786.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0786.rst b/peps/pep-0786.rst index 24a08e1ce71..9656002b4c8 100644 --- a/peps/pep-0786.rst +++ b/peps/pep-0786.rst @@ -179,7 +179,7 @@ integers in two's complement. This leads us to a couple of alternative formulati of formatting negative numbers. Observe that one can always extend a signed number's binary representation by -extending the the leading digit as a prefix: +extending the leading digit as a prefix: .. code-block:: text From 198e326e5bd2bb2833d3eef5e6ce6a6d7b757c13 Mon Sep 17 00:00:00 2001 From: dhairya05 Date: Mon, 9 Nov 2026 01:19:35 +0530 Subject: [PATCH 6/7] PEP 824: fix duplicated word "both Swift and Kotlin for their their "Nil-Coalescing" and "Elvis" operators respectively". --- peps/pep-0824.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0824.rst b/peps/pep-0824.rst index eedc9c7f56f..c6e5645adbe 100644 --- a/peps/pep-0824.rst +++ b/peps/pep-0824.rst @@ -572,7 +572,7 @@ coalescing" operators, two options for the precedence emerge. 1. A precedence between binary and comparison operators as seen in both Swift [#swift_precedence]_ and Kotlin [#kotlin_precedence]_ - for their their "Nil-Coalescing" and "Elvis" operators respectively. + for their "Nil-Coalescing" and "Elvis" operators respectively. 2. A precedence between the logical OR and conditional / ternary operators, see C# [#csharp_precedence]_, Dart [#dart_precedence]_ and From cf80a01715ed3f7fa8f3c0ca72cf6d72822d4f5e Mon Sep 17 00:00:00 2001 From: dhairya05 Date: Mon, 9 Nov 2026 01:19:44 +0530 Subject: [PATCH 7/7] PEP 818: fix duplicated word "We define define ``makePythonFunction`` as follows". --- peps/pep-0818.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0818.rst b/peps/pep-0818.rst index 22919ea03b2..d69337be48a 100644 --- a/peps/pep-0818.rst +++ b/peps/pep-0818.rst @@ -744,7 +744,7 @@ The Python object ``jstypes.code.run_js`` is defined as follows: Unlike ``run_js``, the JavaScript object ``makePythonFunction`` is strictly for the sake of our pseudocode and will not be included as part of the API. We -define define ``makePythonFunction`` as follows: +define ``makePythonFunction`` as follows: .. code-block:: python