https://github.com/python/cpython/commit/483c74793917c449e8bff2f9fabd2c6d0c283686
commit: 483c74793917c449e8bff2f9fabd2c6d0c283686
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: erlend-aasland <[email protected]>
date: 2024-10-21T08:49:31Z
summary:

[3.13] Doc: Fix typos (GH-125728) (#125773)

(cherry picked from commit ded105a62b9d78717f8dc64652e3903190b585dd)

Co-authored-by: ember91 <[email protected]>

files:
M Doc/c-api/init.rst
M Doc/c-api/long.rst
M Doc/c-api/monitoring.rst
M Doc/library/concurrent.futures.rst
M Doc/library/importlib.metadata.rst
M Doc/using/windows.rst

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 8578ad301d11ba..7cfe8ca0649e0b 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -2368,7 +2368,7 @@ Example usage::
 
 In the above example, :c:macro:`Py_SETREF` calls :c:macro:`Py_DECREF`, which
 can call arbitrary code through an object's deallocation function.  The 
critical
-section API avoids potentital deadlocks due to reentrancy and lock ordering
+section API avoids potential deadlocks due to reentrancy and lock ordering
 by allowing the runtime to temporarily suspend the critical section if the
 code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
 
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index 638be61c5b8091..1f899b1df196f2 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -454,7 +454,7 @@ distinguished from a number.  Use :c:func:`PyErr_Occurred` 
to disambiguate.
       free(bignum);
 
    *flags* is either ``-1`` (``Py_ASNATIVEBYTES_DEFAULTS``) to select defaults
-   that behave most like a C cast, or a combintation of the other flags in
+   that behave most like a C cast, or a combination of the other flags in
    the table below.
    Note that ``-1`` cannot be combined with other flags.
 
diff --git a/Doc/c-api/monitoring.rst b/Doc/c-api/monitoring.rst
index 285ddb2889a67f..51d866cfd47469 100644
--- a/Doc/c-api/monitoring.rst
+++ b/Doc/c-api/monitoring.rst
@@ -147,7 +147,7 @@ would typically correspond to a python function.
 
    The ``version`` argument is a pointer to a value which should be allocated
    by the user together with ``state_array`` and initialized to 0,
-   and then set only by :c:func:`!PyMonitoring_EnterScope` itelf. It allows 
this
+   and then set only by :c:func:`!PyMonitoring_EnterScope` itself. It allows 
this
    function to determine whether event states have changed since the previous 
call,
    and to return quickly if they have not.
 
diff --git a/Doc/library/concurrent.futures.rst 
b/Doc/library/concurrent.futures.rst
index e3b24451188cc4..4e7db8fc854521 100644
--- a/Doc/library/concurrent.futures.rst
+++ b/Doc/library/concurrent.futures.rst
@@ -206,7 +206,7 @@ ThreadPoolExecutor Example
            'http://www.cnn.com/',
            'http://europe.wsj.com/',
            'http://www.bbc.co.uk/',
-           'http://nonexistant-subdomain.python.org/']
+           'http://nonexistent-subdomain.python.org/']
 
    # Retrieve a single page and report the URL and contents
    def load_url(url, timeout):
diff --git a/Doc/library/importlib.metadata.rst 
b/Doc/library/importlib.metadata.rst
index b27537a9fa13a3..d8c3e77980f06f 100644
--- a/Doc/library/importlib.metadata.rst
+++ b/Doc/library/importlib.metadata.rst
@@ -555,7 +555,7 @@ path.
 
 ``DatabaseDistribution``, then, would look something like::
 
-    class DatabaseDistribution(importlib.metadata.Distributon):
+    class DatabaseDistribution(importlib.metadata.Distribution):
         def __init__(self, record):
             self.record = record
 
diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst
index 136236f51eb511..b9757ad776db27 100644
--- a/Doc/using/windows.rst
+++ b/Doc/using/windows.rst
@@ -837,8 +837,8 @@ The short form of the argument (``-3``) only ever selects 
from core Python
 releases, and not other distributions. However, the longer form (``-V:3``) will
 select from any.
 
-The Company is matched on the full string, case-insenitive. The Tag is matched
-oneither the full string, or a prefix, provided the next character is a dot or 
a
+The Company is matched on the full string, case-insensitive. The Tag is matched
+on either the full string, or a prefix, provided the next character is a dot 
or a
 hyphen. This allows ``-V:3.1`` to match ``3.1-32``, but not ``3.10``. Tags are
 sorted using numerical ordering (``3.10`` is newer than ``3.1``), but are
 compared using text (``-V:3.01`` does not match ``3.1``).

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to