Skip to content

Commit 483c747

Browse files
[3.13] Doc: Fix typos (GH-125728) (#125773)
(cherry picked from commit ded105a) Co-authored-by: ember91 <[email protected]>
1 parent 6b31b2d commit 483c747

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Doc/c-api/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2368,7 +2368,7 @@ Example usage::
23682368
23692369
In the above example, :c:macro:`Py_SETREF` calls :c:macro:`Py_DECREF`, which
23702370
can call arbitrary code through an object's deallocation function. The critical
2371-
section API avoids potentital deadlocks due to reentrancy and lock ordering
2371+
section API avoids potential deadlocks due to reentrancy and lock ordering
23722372
by allowing the runtime to temporarily suspend the critical section if the
23732373
code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
23742374

Doc/c-api/long.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
454454
free(bignum);
455455
456456
*flags* is either ``-1`` (``Py_ASNATIVEBYTES_DEFAULTS``) to select defaults
457-
that behave most like a C cast, or a combintation of the other flags in
457+
that behave most like a C cast, or a combination of the other flags in
458458
the table below.
459459
Note that ``-1`` cannot be combined with other flags.
460460

Doc/c-api/monitoring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ would typically correspond to a python function.
147147
148148
The ``version`` argument is a pointer to a value which should be allocated
149149
by the user together with ``state_array`` and initialized to 0,
150-
and then set only by :c:func:`!PyMonitoring_EnterScope` itelf. It allows this
150+
and then set only by :c:func:`!PyMonitoring_EnterScope` itself. It allows this
151151
function to determine whether event states have changed since the previous call,
152152
and to return quickly if they have not.
153153

Doc/library/concurrent.futures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ ThreadPoolExecutor Example
206206
'http://www.cnn.com/',
207207
'http://europe.wsj.com/',
208208
'http://www.bbc.co.uk/',
209-
'http://nonexistant-subdomain.python.org/']
209+
'http://nonexistent-subdomain.python.org/']
210210

211211
# Retrieve a single page and report the URL and contents
212212
def load_url(url, timeout):

Doc/library/importlib.metadata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ path.
555555

556556
``DatabaseDistribution``, then, would look something like::
557557

558-
class DatabaseDistribution(importlib.metadata.Distributon):
558+
class DatabaseDistribution(importlib.metadata.Distribution):
559559
def __init__(self, record):
560560
self.record = record
561561

Doc/using/windows.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,8 +837,8 @@ The short form of the argument (``-3``) only ever selects from core Python
837837
releases, and not other distributions. However, the longer form (``-V:3``) will
838838
select from any.
839839

840-
The Company is matched on the full string, case-insenitive. The Tag is matched
841-
oneither the full string, or a prefix, provided the next character is a dot or a
840+
The Company is matched on the full string, case-insensitive. The Tag is matched
841+
on either the full string, or a prefix, provided the next character is a dot or a
842842
hyphen. This allows ``-V:3.1`` to match ``3.1-32``, but not ``3.10``. Tags are
843843
sorted using numerical ordering (``3.10`` is newer than ``3.1``), but are
844844
compared using text (``-V:3.01`` does not match ``3.1``).

0 commit comments

Comments
 (0)