File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2418,7 +2418,7 @@ Example usage::
24182418
24192419In the above example, :c:macro:`Py_SETREF` calls :c:macro:`Py_DECREF`, which
24202420can call arbitrary code through an object's deallocation function. The critical
2421- section API avoids potentital deadlocks due to reentrancy and lock ordering
2421+ section API avoids potential deadlocks due to reentrancy and lock ordering
24222422by allowing the runtime to temporarily suspend the critical section if the
24232423code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
24242424
Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
511511 free(bignum);
512512
513513 *flags * is either ``-1 `` (``Py_ASNATIVEBYTES_DEFAULTS ``) to select defaults
514- that behave most like a C cast, or a combintation of the other flags in
514+ that behave most like a C cast, or a combination of the other flags in
515515 the table below.
516516 Note that ``-1`` cannot be combined with other flags.
517517
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ ThreadPoolExecutor Example
208208 'http://www.cnn.com/',
209209 'http://europe.wsj.com/',
210210 'http://www.bbc.co.uk/',
211- 'http://nonexistant -subdomain.python.org/']
211+ 'http://nonexistent -subdomain.python.org/']
212212
213213 # Retrieve a single page and report the URL and contents
214214 def load_url(url, timeout):
Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ path.
559559
560560``DatabaseDistribution ``, then, would look something like::
561561
562- class DatabaseDistribution(importlib.metadata.Distributon ):
562+ class DatabaseDistribution(importlib.metadata.Distribution ):
563563 def __init__(self, record):
564564 self.record = record
565565
Original file line number Diff line number Diff line change @@ -838,8 +838,8 @@ The short form of the argument (``-3``) only ever selects from core Python
838838releases, and not other distributions. However, the longer form (``-V:3 ``) will
839839select from any.
840840
841- The Company is matched on the full string, case-insenitive . The Tag is matched
842- oneither the full string, or a prefix, provided the next character is a dot or a
841+ The Company is matched on the full string, case-insensitive . The Tag is matched
842+ on either the full string, or a prefix, provided the next character is a dot or a
843843hyphen. This allows ``-V:3.1 `` to match ``3.1-32 ``, but not ``3.10 ``. Tags are
844844sorted using numerical ordering (``3.10 `` is newer than ``3.1 ``), but are
845845compared using text (``-V:3.01 `` does not match ``3.1 ``).
You can’t perform that action at this time.
0 commit comments