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 @@ -2368,7 +2368,7 @@ Example usage::
23682368
23692369In the above example, :c:macro:`Py_SETREF` calls :c:macro:`Py_DECREF`, which
23702370can 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
23722372by allowing the runtime to temporarily suspend the critical section if the
23732373code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
23742374
Original file line number Diff line number Diff 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
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 @@ -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):
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -837,8 +837,8 @@ The short form of the argument (``-3``) only ever selects from core Python
837837releases, and not other distributions. However, the longer form (``-V:3 ``) will
838838select 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
842842hyphen. This allows ``-V:3.1 `` to match ``3.1-32 ``, but not ``3.10 ``. Tags are
843843sorted using numerical ordering (``3.10 `` is newer than ``3.1 ``), but are
844844compared using text (``-V:3.01 `` does not match ``3.1 ``).
You can’t perform that action at this time.
0 commit comments