File tree 6 files changed +7
-7
lines changed 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2368,7 +2368,7 @@ Example usage::
2368
2368
2369
2369
In the above example, :c:macro:`Py_SETREF` calls :c:macro:`Py_DECREF`, which
2370
2370
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
2372
2372
by allowing the runtime to temporarily suspend the critical section if the
2373
2373
code triggered by the finalizer blocks and calls :c:func:`PyEval_SaveThread`.
2374
2374
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.
454
454
free(bignum);
455
455
456
456
*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
458
458
the table below.
459
459
Note that ``-1`` cannot be combined with other flags.
460
460
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 @@ -206,7 +206,7 @@ ThreadPoolExecutor Example
206
206
'http://www.cnn.com/',
207
207
'http://europe.wsj.com/',
208
208
'http://www.bbc.co.uk/',
209
- 'http://nonexistant -subdomain.python.org/']
209
+ 'http://nonexistent -subdomain.python.org/']
210
210
211
211
# Retrieve a single page and report the URL and contents
212
212
def load_url(url, timeout):
Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ path.
555
555
556
556
``DatabaseDistribution ``, then, would look something like::
557
557
558
- class DatabaseDistribution(importlib.metadata.Distributon ):
558
+ class DatabaseDistribution(importlib.metadata.Distribution ):
559
559
def __init__(self, record):
560
560
self.record = record
561
561
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
837
837
releases, and not other distributions. However, the longer form (``-V:3 ``) will
838
838
select from any.
839
839
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
842
842
hyphen. This allows ``-V:3.1 `` to match ``3.1-32 ``, but not ``3.10 ``. Tags are
843
843
sorted using numerical ordering (``3.10 `` is newer than ``3.1 ``), but are
844
844
compared using text (``-V:3.01 `` does not match ``3.1 ``).
You can’t perform that action at this time.
0 commit comments