Skip to content

Fix typos flagged by codespell - #5222

Merged
hugovk merged 1 commit into
python:mainfrom
Dhairya-007:fix-codespell-typos
Nov 6, 2026
Merged

hugovk merged 1 commit into
python:mainfrom
Dhairya-007:fix-codespell-typos

Conversation

@Dhairya-007

Copy link
Copy Markdown
Contributor

Corrects twelve misspellings that the repository's own codespell configuration already reports.

The spelling check runs with continue-on-error: true in lint.yml, so these never failed CI and accumulated unnoticed. codespell goes from 70 reported words to 58 with this change.

where
targetting targeting PEP 739 (x2), PEP 793
possibily possibility PEP 739
mistakingly mistakenly PEP 755
reponsibilities responsibilities PEP 773
introducted introduced PEP 777
unforseen unforeseen PEP 783
succesfully successfully PEP 793 examplemodule.c
wrapepd wrapped PEP 797
taged tagged PEP 820
intepreter interpreter release_management/python-releases.toml

One of the PEP 739 fixes is in python-build-info-v1.0.schema.json, whose description repeats verbatim the sentence corrected in the PEP body, so the two stay consistent. I checked the file still parses as valid JSON.

Prose only — no PEP headers, metadata or normative wording is changed.

Deliberately left alone

The words codespell still reports are not typos:

  • Bloc (PEP 13) — the Bloc STAR voting method
  • Stange (PEP 831) — Markus Stange, a person's name
  • indx, ExceptionN (PEP 323, PEP 463) — identifiers and placeholder notation in code samples
  • pre-emptively, transferrable, useable — accepted variant spellings
  • respondants (PEP 308, PEP 378) — a genuine misspelling, but those PEPs are historical records from 2003, so I left them untouched rather than edit the record. Happy to include them if preferred.
  • the remainder are character sequences inside the .drawio.svg files under peps/pep-0694/

Corrects twelve misspellings that the repository's own codespell
configuration reports. The spelling check runs with continue-on-error in
the lint workflow, so these never failed CI and accumulated unnoticed.

  targetting      -> targeting      (PEP 739 x2, PEP 793)
  possibily       -> possibility    (PEP 739)
  mistakingly     -> mistakenly     (PEP 755)
  reponsibilities -> responsibilities (PEP 773)
  introducted     -> introduced     (PEP 777)
  unforseen       -> unforeseen     (PEP 783)
  succesfully     -> successfully   (PEP 793 examplemodule.c)
  wrapepd         -> wrapped        (PEP 797)
  taged           -> tagged         (PEP 820)
  intepreter      -> interpreter    (release_management)

One of the PEP 739 fixes is in python-build-info-v1.0.schema.json, whose
description field repeats the sentence corrected in the PEP body; the
file still parses as valid JSON.

Prose only; no PEP headers, metadata or normative wording changed.

Words codespell still reports are left alone deliberately: "Bloc" is the
Bloc STAR voting method, "Stange" is Markus Stange, "indx" and
"ExceptionN" appear in code samples, "pre-emptively", "transferrable"
and "useable" are accepted variants, and "respondants" sits in PEP 308
and PEP 378, which are historical records from 2003.
@python-cla-bot

python-cla-bot Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 pep-previews | 🛠️ Build #35703867 | 📁 Comparing 07d2122 against latest (d728748)

  🔍 Preview build  

8 files changed · ± 8 modified

± Modified

@hugovk
hugovk merged commit d94bba4 into python:main Nov 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants