Skip to content

Commit 57d9baf

Browse files
Typos found by codespell (#2073)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent bf6c1bd commit 57d9baf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+89
-89
lines changed

pep-0002.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Maintainer(s)
6767
All contributions to the standard library need one or more
6868
maintainers. This can be an individual, but it is frequently a group
6969
of people such as the XML- SIG. Groups may subdivide maintenance
70-
tasks among themselves. One ore more maintainers shall be the *head
70+
tasks among themselves. One or more maintainers shall be the *head
7171
maintainer* (usually this is also the main developer). Head
7272
maintainers are convenient people the integrators can address if they
7373
want to resolve specific issues, such as the ones detailed later in

pep-0042.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Standard Library
106106
handler, it returns "". It would be better to make it raise an
107107
exception (corresponding to EINTR) or to restart. But these
108108
changes would have to applied to all places that can do blocking
109-
interruptable I/O. So it's a big project.
109+
interruptible I/O. So it's a big project.
110110

111111
https://bugs.python.org/issue210599
112112

pep-0101.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ the main repo.
534534
you will now need to manual remove each blurb entry from
535535
the ``Misc/NEWS.d/next`` directory that was cherry-picked
536536
into the release you are working on since that blurb entry
537-
is now captured in the merged x.y.z.rst fils for the new
537+
is now captured in the merged x.y.z.rst file for the new
538538
release. Otherwise, the blurb entry will appear twice in
539539
the `changelog.html` file, once under `Python next` and again
540540
under `x.y.z`.

pep-0214.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ symbol.
193193
necessary! Of course you want the file to be an arbitrary
194194
expression, not just a single word. (You definitely want to be
195195
able to write ``print >>sys.stderr``.) Without the expression the
196-
parser would't be able to distinguish where that expression ends
196+
parser wouldn't be able to distinguish where that expression ends
197197
and where the next one begins, e.g.
198198

199199
::

pep-0252.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ this situation substantially.
623623

624624
- Modification for dynamic types: step 1 and 3 look in the
625625
dictionary of the type and all its base classes (in MRO
626-
sequence, or couse).
626+
sequence, or course).
627627

628628

629629
Discussion

pep-0287.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ SText idea, addressing all of the problems listed above.
271271
Specification
272272
=============
273273

274-
The specification and user documentaton for reStructuredText is
274+
The specification and user documentation for reStructuredText is
275275
quite extensive. Rather than repeating or summarizing it all
276276
here, links to the originals are provided.
277277

pep-0340.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Alternatives Considered and Rejected
270270
an entirely different API than the for-loop, to differentiate
271271
between the two. A generator would have to be wrapped in a
272272
decorator to make it support the block API. IMO this adds more
273-
complexity with very little benefit; and we can't relly deny
273+
complexity with very little benefit; and we can't really deny
274274
that the block-statement is conceptually a loop -- it supports
275275
break and continue, after all.
276276

pep-0367.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ The proposal adds a dynamic attribute lookup to the super type, which will
481481
automatically determine the proper class and instance parameters. Each super
482482
attribute lookup identifies these parameters and performs the super lookup on
483483
the instance, as the current super implementation does with the explicit
484-
invokation of a super instance upon a class and instance.
484+
invocation of a super instance upon a class and instance.
485485

486486
This proposal relies on sys._getframe(), which is not appropriate for anything
487487
except a prototype implementation.

pep-0372.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ What are the trade-offs of the possible underlying data structures?
249249
the code a little bit more complex. All of the basic operations are O(1)
250250
but the constant factor is increased for __setitem__() and __delitem__()
251251
meaning that every use case will have to pay for this speedup (since all
252-
buildup go through __setitem__). Also, the first traveral incurs a
252+
buildup go through __setitem__). Also, the first traversal incurs a
253253
one-time ``O(n log n)`` sorting cost. The storage costs are double that
254254
for the sorted-list-of-keys approach.
255255

pep-0374.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ admitted that svn does not serve the needs of non-committers as well
14431443
as a DVCS does. Because svn only provides its features such as version
14441444
control, branching, etc. to people with commit privileges on the
14451445
repository it can be a hindrance for people who lack commit
1446-
privileges. But DVCSs have no such limitiation as anyone can create a
1446+
privileges. But DVCSs have no such limitation as anyone can create a
14471447
local branch of Python and perform their own local commits without the
14481448
burden that comes with cloning the entire svn repository. Allowing
14491449
anyone to have the same workflow as the core developers was the key

0 commit comments

Comments
 (0)