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::
2418
2418
2419
2419
In the above example, :c:macro:`Py_SETREF` calls :c:macro:`Py_DECREF`, which
2420
2420
can 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
2422
2422
by allowing the runtime to temporarily suspend the critical section if the
2423
2423
code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
2424
2424
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.
511
511
free(bignum);
512
512
513
513
*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
515
515
the table below.
516
516
Note that ``-1`` cannot be combined with other flags.
517
517
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ would typically correspond to a python function.
147
147
148
148
The ``version`` argument is a pointer to a value which should be allocated
149
149
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
151
151
function to determine whether event states have changed since the previous call,
152
152
and to return quickly if they have not.
153
153
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ ThreadPoolExecutor Example
208
208
'http://www.cnn.com/',
209
209
'http://europe.wsj.com/',
210
210
'http://www.bbc.co.uk/',
211
- 'http://nonexistant -subdomain.python.org/']
211
+ 'http://nonexistent -subdomain.python.org/']
212
212
213
213
# Retrieve a single page and report the URL and contents
214
214
def load_url(url, timeout):
Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ path.
559
559
560
560
``DatabaseDistribution ``, then, would look something like::
561
561
562
- class DatabaseDistribution(importlib.metadata.Distributon ):
562
+ class DatabaseDistribution(importlib.metadata.Distribution ):
563
563
def __init__(self, record):
564
564
self.record = record
565
565
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
838
838
releases, and not other distributions. However, the longer form (``-V:3 ``) will
839
839
select from any.
840
840
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
843
843
hyphen. This allows ``-V:3.1 `` to match ``3.1-32 ``, but not ``3.10 ``. Tags are
844
844
sorted using numerical ordering (``3.10 `` is newer than ``3.1 ``), but are
845
845
compared using text (``-V:3.01 `` does not match ``3.1 ``).
You can’t perform that action at this time.
0 commit comments