Skip to content

Commit f2febf6

Browse files
committed
Fix more typos
1 parent c1f2daa commit f2febf6

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

NEWS.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ Bugfixes
620620
--------
621621

622622
- In tests, rely on pytest-home for reusable fixture. (#4072)
623-
- Explicitely marked as ``Protocol`` and fixed missing ``self`` argument in interfaces ``pkg_resources.IMetadataProvider`` and ``pkg_resources.IResourceProvider`` -- by :user:`Avasam` (#4144)
623+
- Explicitly marked as ``Protocol`` and fixed missing ``self`` argument in interfaces ``pkg_resources.IMetadataProvider`` and ``pkg_resources.IResourceProvider`` -- by :user:`Avasam` (#4144)
624624
- Restored expectation that egg-link files would be named with dash separators for compatibility with pip prior to version 24. (#4167)
625625

626626

@@ -7151,7 +7151,7 @@ setuptools
71517151

71527152
* Fixed invalid URL error catching. Old Setuptools #20.
71537153

7154-
* Fixed invalid bootstraping with easy_install installation (Distribute #40).
7154+
* Fixed invalid bootstrapping with easy_install installation (Distribute #40).
71557155
Thanks to Florian Schulze for the help.
71567156

71577157
* Removed buildout/bootstrap.py. A new repository will create a specific

setuptools/_vendor/autocommand-2.2.2.dist-info/METADATA

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ optional arguments:
320320
STOP and STEP default to 1
321321
```
322322

323-
Even though autocommand is being applied to the `wrapper` returned by `print_yielded`, it still retreives the signature of the underlying `seq` function to create the argument parsing.
323+
Even though autocommand is being applied to the `wrapper` returned by `print_yielded`, it still retrieves the signature of the underlying `seq` function to create the argument parsing.
324324

325325
### Custom Parser
326326

@@ -331,7 +331,7 @@ from argparse import ArgumentParser
331331
from autocommand import autocommand
332332

333333
parser = ArgumentParser()
334-
# autocommand can't do optional positonal parameters
334+
# autocommand can't do optional positional parameters
335335
parser.add_argument('arg', nargs='?')
336336
# or mutually exclusive options
337337
group = parser.add_mutually_exclusive_group()

setuptools/_vendor/autocommand/autoasync.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ async def _run_forever_coro(coro, args, kwargs, loop):
5454
def autoasync(coro=None, *, loop=None, forever=False, pass_loop=False):
5555
'''
5656
Convert an asyncio coroutine into a function which, when called, is
57-
evaluted in an event loop, and the return value returned. This is intented
57+
evaluated in an event loop, and the return value returned. This is intended
5858
to make it easy to write entry points into asyncio coroutines, which
59-
otherwise need to be explictly evaluted with an event loop's
59+
otherwise need to be explicitly evaluated with an event loop's
6060
run_until_complete.
6161
6262
If `loop` is given, it is used as the event loop to run the coro in. If it
63-
is None (the default), the loop is retreived using asyncio.get_event_loop.
64-
This call is defered until the decorated function is called, so that
63+
is None (the default), the loop is retrieved using asyncio.get_event_loop.
64+
This call is deferred until the decorated function is called, so that
6565
callers can install custom event loops or event loop policies after
6666
@autoasync is applied.
6767

setuptools/_vendor/autocommand/autoparse.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class AnnotationError(AutocommandError):
3434

3535
class PositionalArgError(AutocommandError):
3636
'''
37-
Postional Arg Error: autocommand can't handle postional-only parameters
37+
Positional Arg Error: autocommand can't handle positional-only parameters
3838
'''
3939

4040

@@ -197,7 +197,7 @@ def make_parser(func_sig, description, epilog, add_nos):
197197
used_char_args = {'h'}
198198

199199
# Arange the params so that single-character arguments are first. This
200-
# esnures they don't have to get --long versions. sorted is stable, so the
200+
# ensures they don't have to get --long versions. sorted is stable, so the
201201
# parameters will otherwise still be in relative order.
202202
params = sorted(
203203
func_sig.parameters.values(),
@@ -249,7 +249,7 @@ def autoparse(
249249
while parameters *with* defaults become --options. Use annotations to set
250250
the type of the parameter.
251251
252-
The `desctiption` and `epilog` parameters corrospond to the same respective
252+
The `description` and `epilog` parameters correspond to the same respective
253253
argparse parameters. If no description is given, it defaults to the
254254
decorated functions's docstring, if present.
255255

setuptools/_vendor/inflect/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ def get_si_pron(thecase, word, gender) -> str:
18371837
re.VERBOSE,
18381838
)
18391839

1840-
# THIS PATTERN CODES THE BEGINNINGS OF ALL ENGLISH WORDS BEGINING WITH A
1840+
# THIS PATTERN CODES THE BEGINNINGS OF ALL ENGLISH WORDS BEGINNING WITH A
18411841
# 'y' FOLLOWED BY A CONSONANT. ANY OTHER Y-CONSONANT PREFIX THEREFORE
18421842
# IMPLIES AN ABBREVIATION.
18431843

setuptools/_vendor/packaging/metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def parse_email(data: bytes | str) -> tuple[RawMetadata, dict[str, list[str]]]:
424424
except KeyError:
425425
unparsed[name] = value
426426
# Nothing that we've done has managed to parse this, so it'll just
427-
# throw it in our unparseable data and move on.
427+
# throw it in our unparsable data and move on.
428428
else:
429429
unparsed[name] = value
430430

@@ -441,7 +441,7 @@ def parse_email(data: bytes | str) -> tuple[RawMetadata, dict[str, list[str]]]:
441441
else:
442442
if payload:
443443
# Check to see if we've already got a description, if so then both
444-
# it, and this body move to unparseable.
444+
# it, and this body move to unparsable.
445445
if "description" in raw:
446446
description_header = cast(str, raw.pop("description"))
447447
unparsed.setdefault("description", []).extend(

0 commit comments

Comments
 (0)