Skip to content

Commit d94bba4

Browse files
authored
Fix typos flagged by codespell (#5222)
1 parent d728748 commit d94bba4

11 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎peps/pep-0739.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ below, which is rendered in an human-readable format here.
559559
Either an absolute path, or a path relative to ``base_prefix``.
560560

561561
This field **MUST** be present if the Python installation
562-
provides a dynamic ``libpython`` library targetting the Stable
562+
provides a dynamic ``libpython`` library targeting the Stable
563563
ABI, otherwise this entry will be missing.
564564

565565
If this key is present ``dynamic`` **MUST** also be set.
@@ -725,7 +725,7 @@ provided by a separate file.
725725
Including environment-specific data in the config file means that it would be
726726
environment-specific, so virtual environments would need their own config file.
727727
This is problematic because virtual environments survive updates of the base
728-
Python installation, creating the possibily for the static config file to be
728+
Python installation, creating the possibility for the static config file to be
729729
outdated, and making its data unreliable, which defeats its purpose.
730730

731731
The proposed solution, partially implemented in this PEP, is to have a

‎peps/pep-0739/python-build-info-v1.0.schema.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
},
207207
"dynamic_stableabi": {
208208
"type": "string",
209-
"description": "The path to the dynamic ``libpython`` library for the stable ABI.\n\nEither an absolute path, or a path relative to ``base_prefix``.\n\nThis field **MUST** be present if the Python installation provides a dynamic ``libpython`` library targetting the Stable ABI, otherwise this entry will be missing.\n\nIf this key is present ``dynamic`` **MUST** also be set.",
209+
"description": "The path to the dynamic ``libpython`` library for the stable ABI.\n\nEither an absolute path, or a path relative to ``base_prefix``.\n\nThis field **MUST** be present if the Python installation provides a dynamic ``libpython`` library targeting the Stable ABI, otherwise this entry will be missing.\n\nIf this key is present ``dynamic`` **MUST** also be set.",
210210
"examples": [
211211
"/usr/lib/libpython3.so",
212212
"lib/libpython3.so"

‎peps/pep-0755.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ There is no indicator for projects that are tied to a
280280
this is the most common scenario.
281281

282282
If there was an indicator, it would not be a check mark or similar as NuGet
283-
chose because it may mistakingly convey that there are associated security
283+
chose because it may mistakenly convey that there are associated security
284284
guarantees inherent to the use of the package. Additionally, some social media
285285
platforms use a check mark for verified users which may cause confusion.
286286

‎peps/pep-0773.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ Make every version a Windows Store package
16251625
It is possible to release each version to the Windows Store as we currently do,
16261626
but make them unlisted and rely on an installer (potentially PyManager, WinGet,
16271627
or another tool that can install Store packages). This would avoid the risk of
1628-
overwhelming the user, while greatly simplifying our own reponsibilities for
1628+
overwhelming the user, while greatly simplifying our own responsibilities for
16291629
package management.
16301630

16311631
This approach would leave a significant burden on whichever contributor has

‎peps/pep-0777.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ Why not Specify Wheel 2.0 In This PEP?
353353
There are *many* features that could be included as part of wheel 2.0, but this
354354
PEP does not cover them. The goal of this PEP is to define a compatibility
355355
story for the wheel file format. Changes that do not pertain to compatibility
356-
for wheel versions do not need to be in this PEP, and should be introducted
356+
for wheel versions do not need to be in this PEP, and should be introduced
357357
in follow-up PEPs defining new wheel features.
358358

359359
Discussion Topics

‎peps/pep-0783.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Alternative Options for the Platform Tag
256256

257257
No patch version
258258
We hope never to need the patch version, but it's good to be prepared for
259-
unforseen problems.
259+
unforeseen problems.
260260

261261
How to Teach This
262262
=================

‎peps/pep-0793.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ wrappers, the :ref:`pep793-shim` below may be more useful.
513513
Later in this guide, you'll set the token to *be* the existing
514514
``PyModuleDef`` structure.
515515

516-
(You may skip this step if targetting Python versions that don't expose
516+
(You may skip this step if targeting Python versions that don't expose
517517
``PyType_GetModuleByToken``, since ``PyType_GetModuleByDef`` is
518518
backwards-compatible.)
519519

‎peps/pep-0793/examplemodule.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Example module with C-level module-global state, and
66
PyType_GetModuleByToken)
77
88
Once compiled and renamed to not include a version tag (for example
9-
examplemodule.so on Linux), this will run succesfully on both regular
9+
examplemodule.so on Linux), this will run successfully on both regular
1010
and free-threaded builds.
1111
1212
Python usage:

‎peps/pep-0797.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ in the wrapped object's interpreter. To visualize:
301301
interp = interpreters.create()
302302
interp.prepare_main(proxy=proxy)
303303
304-
# This prints out [], because the wrapepd object must be invisible to this
304+
# This prints out [], because the wrapped object must be invisible to this
305305
# interpreter.
306306
interp.exec("import gc; print(gc.get_referents(proxy))")
307307

‎peps/pep-0820.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ change the details.
5454

5555
Both structures contain a *slots* field, essentially an array of
5656
`tagged unions <https://en.wikipedia.org/wiki/Tagged_union>`__
57-
(``void`` pointers taged with an ``int`` ID).
57+
(``void`` pointers tagged with an ``int`` ID).
5858
This allows for future expansion.
5959

6060
In :pep:`793`, new module creation API was added.

0 commit comments

Comments
 (0)