From b2cd5b98f91920fcf270c78132749e0634844b19 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Mon, 21 Jul 2025 01:34:12 +0200 Subject: [PATCH 1/2] Fix typos in docs using codespell --- Doc/extending/extending.rst | 2 +- Doc/library/shelve.rst | 2 +- Doc/whatsnew/3.14.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index fd63495674651b..a89a69043c0f9f 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -214,7 +214,7 @@ and initialize it by calling :c:func:`PyErr_NewException` in the module's SpamError = PyErr_NewException("spam.error", NULL, NULL); -Since :c:data:`!SpamError` is a global variable, it will be overwitten every time +Since :c:data:`!SpamError` is a global variable, it will be overwritten every time the module is reinitialized, when the :c:data:`Py_mod_exec` function is called. For now, let's avoid the issue: we will block repeated initialization by raising an diff --git a/Doc/library/shelve.rst b/Doc/library/shelve.rst index 23808619524056..b88fe4157bdc29 100644 --- a/Doc/library/shelve.rst +++ b/Doc/library/shelve.rst @@ -144,7 +144,7 @@ Restrictions which can cause hard crashes when trying to read from the database. * :meth:`Shelf.reorganize` may not be available for all database packages and - may temporarely increase resource usage (especially disk space) when called. + may temporarily increase resource usage (especially disk space) when called. Additionally, it will never run automatically and instead needs to be called explicitly. diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index ba06930cf14eec..32d85167f43df1 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -1051,7 +1051,7 @@ Concurrent safe warnings control The :class:`warnings.catch_warnings` context manager will now optionally use a context variable for warning filters. This is enabled by setting the :data:`~sys.flags.context_aware_warnings` flag, either with the ``-X`` -command-line option or an environment variable. This gives predicable +command-line option or an environment variable. This gives predictable warnings control when using :class:`~warnings.catch_warnings` combined with multiple threads or asynchronous tasks. The flag defaults to true for the free-threaded build and false for the GIL-enabled build. From ccc25ca847ce12f43ad4961d344d025f829a7c53 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Mon, 21 Jul 2025 01:37:21 +0200 Subject: [PATCH 2/2] Predicable might be intended --- Doc/whatsnew/3.14.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 32d85167f43df1..ba06930cf14eec 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -1051,7 +1051,7 @@ Concurrent safe warnings control The :class:`warnings.catch_warnings` context manager will now optionally use a context variable for warning filters. This is enabled by setting the :data:`~sys.flags.context_aware_warnings` flag, either with the ``-X`` -command-line option or an environment variable. This gives predictable +command-line option or an environment variable. This gives predicable warnings control when using :class:`~warnings.catch_warnings` combined with multiple threads or asynchronous tasks. The flag defaults to true for the free-threaded build and false for the GIL-enabled build. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy